Versions in this module Expand all Collapse all v0 v0.19.0 Oct 1, 2025 v0.18.0 Aug 30, 2025 v0.17.0 Aug 25, 2025 v0.16.2 Jul 29, 2025 v0.16.1 Jun 23, 2025 v0.16.0 May 28, 2025 v0.15.0 May 20, 2025 v0.14.0 May 15, 2025 v0.13.0 May 4, 2025 v0.12.0 Apr 17, 2025 v0.11.0 Mar 17, 2025 Changes in this version + type CanBeInitializedOptions struct + Definitions *definition.Definitions + DeploymentEnv definition.ServiceDeploy + type Entry struct + func (e *Entry) Error(in interface{}) error + func (e *Entry) IsEnabled() bool + func (e *Entry) Logger() loggerApi.Logger + func (e *Entry) Name() string + func (e *Entry) UpdateInfo(info UpdateInfoEntry) + func (e *Entry) WrapError(ctx context.Context, err error) error + type Env interface + CoupledNamespace func() string + CoupledPort func() int32 + DeploymentEnv func() definition.ServiceDeploy + Get func(key string) interface{} + GrpcPort func() int32 + HttpPort func() int32 + IsCICD func() bool + TrackerHeaderName func() string + type Feature interface + CanBeInitialized func(options *CanBeInitializedOptions) bool + Fields func() []loggerApi.Attribute + Initialize func(ctx context.Context, options *InitializeOptions) error + type FeatureController interface + Cleanup func(ctx context.Context) error + Start func(ctx context.Context, srv interface{}) error + type FeatureEntry interface + IsEnabled func() bool + Name func() string + UpdateInfo func(info UpdateInfoEntry) + type FeatureExternalAPI interface + ServiceAPI func() interface{} + type FeatureInternalAPI interface + FrameworkAPI func() interface{} + type FeatureSet struct + func NewFeatureSet() *FeatureSet + func (s *FeatureSet) Append(features *FeatureSet) + func (s *FeatureSet) CleanupAll(ctx context.Context) error + func (s *FeatureSet) Count() int + func (s *FeatureSet) Feature(name string) (Feature, error) + func (s *FeatureSet) InitializeAll(ctx context.Context, options *InitializeOptions) error + func (s *FeatureSet) Iterator() *FeatureSetIterator + func (s *FeatureSet) Register(name string, feature Feature, dependencies ...string) + func (s *FeatureSet) StartAll(ctx context.Context, srv interface{}) error + type FeatureSetIterator struct + func (i *FeatureSetIterator) Next() (Feature, bool) + func (i *FeatureSetIterator) Reset() + type FeatureSettings interface + Definitions func(path string) (definition.ExternalFeatureEntry, error) + type FeatureTester interface + DoTest func(ctx context.Context, t *testing.Testing, serviceName service.Name) error + Setup func(ctx context.Context, t *testing.Testing) + Teardown func(ctx context.Context, t *testing.Testing) + type InitializeOptions struct + Definitions *definition.Definitions + Dependencies map[string]Feature + Env Env + Errors errorsApi.ErrorFactory + Logger loggerApi.Logger + RunTimeFeatures map[string]interface{} + ServiceContext *mcontext.ServiceContext + Tags map[string]string + type Service interface + Info func() []loggerApi.Attribute + Initialize func(ctx context.Context, opt *ServiceOptions) error + Name func() string + Run func(ctx context.Context, srv interface{}) error + Stop func(ctx context.Context) error + type ServiceOptions struct + Definitions *definition.Definitions + Env Env + Errors errorsApi.ErrorFactory + Features *FeatureSet + Logger loggerApi.Logger + Name service.Name + Port service.ServerPort + Product string + Service options.ServiceOptions + ServiceContext *mcontext.ServiceContext + ServiceHandler interface{} + Tags map[string]string + Type definition.ServiceType + type ServiceSet struct + func NewServiceSet() *ServiceSet + func (s *ServiceSet) Append(services *ServiceSet) + func (s *ServiceSet) Register(svc Service) + func (s *ServiceSet) Services() map[string]Service + type ServiceSettings interface + Definitions func(path string) (definition.ExternalServiceEntry, error) + type UpdateInfoEntry struct + Enabled bool + Errors errorsApi.ErrorFactory + Logger loggerApi.Logger + Name string