Versions in this module Expand all Collapse all v1 v1.4.4 Nov 9, 2022 v1.4.3 Nov 9, 2022 Changes in this version + const DevMode + const PreMode + const ProMode + const RtMode + const TestMode + type Service interface + func WithStart(start func()) Service + func WithStarter(start Starter) Service + type ServiceConf struct + Log logx.LogConf + MetricsUrl string + Mode string + Name string + Prometheus prometheus.Config + Telemetry trace.Config + func (sc ServiceConf) MustSetUp() + func (sc ServiceConf) SetUp() error + type ServiceGroup struct + func NewServiceGroup() *ServiceGroup + func (sg *ServiceGroup) Add(service Service) + func (sg *ServiceGroup) Start() + func (sg *ServiceGroup) Stop() + type Starter interface + Start func() + type Stopper interface + Stop func()