微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

servicepack

servicepack · v1.5.0
安全 unknown 级 作者 psyb0t 来源 Cocoloop

简介

servicepack

原始描述

Build a Go service on psyb0t/servicepack — clone-and-own framework (not a `go get` library) providing a Service interface (Name/Run/Stop), a singleton ServiceManager that runs services concurrently with dependency-ordered topological start, automatic retry (Retryable), non-fatal failures (AllowedFailure), readiness gating (ReadyNotifier), per-service CLI subcommands (Commander), an App singleton with OnPreRun/OnPostStop lifecycle hooks, gofindimpl-based service auto-discovery codegen, ctxscope/slogging structured logging, and a graceful-shutdown Runner. Import path github.com/psyb0t/servicepack. Use when the user wants related Go services debugged together locally, then deployed as one binary or split into separate microservices, with retry/dependency/readiness semantics.

其他来源收录

同一技能在不同目录的原始页面:

标签

没有标签

同类 Skill