Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitBackLogManager ¶
InitBackLogManager initialize backlog and ticker
func InitDirectives ¶
func InitDirectives(confDir string, ch <-chan event.NormalizedEvent) error
InitDirectives initialize directive from directive_*.json files in confDir then start backlog manager for each directive
Types ¶
type Directives ¶
type Directives struct {
Dirs []directive `json:"directives"`
}
Directives group directive together
func LoadDirectivesFromFile ¶
func LoadDirectivesFromFile(confDir string, namePattern string) (res Directives, totalFromFile int, err error)
LoadDirectivesFromFile load directive from namePattern (glob) files in confDir
Click to show internal directories.
Click to hide internal directories.