Documentation
¶
Overview ¶
Package meter provides a scalable worker Group implementing service.Service and service.Scalable.
Index ¶
- type Config
- type Group
- func (g *Group) Instances() int
- func (g *Group) IsActive() bool
- func (g *Group) Launch(ctx context.Context) error
- func (g *Group) Logs() <-chan service.ServiceLog
- func (g *Group) Metrics() service.Metrics
- func (g *Group) Off()
- func (g *Group) On()
- func (g *Group) Reload(ctx context.Context, cfg any) error
- func (g *Group) ScaleTo(n int) error
- func (g *Group) Stop(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.