Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Start ¶
func Start( groupName string, ticker <-chan time.Time, gp GroupProvider, gu GroupUpdater, opts ...GroupManagerOption, )
Start creates and starts a Manager.
Types ¶
type GroupManagerOption ¶
type GroupManagerOption func(*Manager)
func WithMetrics ¶
func WithMetrics(metrics metrics) GroupManagerOption
type GroupProvider ¶
type GroupProvider interface {
SourceIDs() []string
}
GroupProvider returns the desired SourceIDs.
Click to show internal directories.
Click to hide internal directories.