Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMonitor ¶
type ConfigMonitor interface { Key() string Config() interface{} CallbackSize() int Start() error WatcherID() int64 Stop() SetManager(manager parser.ConfigManager) RegisterCallback(callback func()) int64 DeregisterCallback(uniqueID int64) }
func NewConfigMonitor ¶
func NewConfigMonitor(key string, watcher filewatcher.FileWatcher) (ConfigMonitor, error)
NewConfigMonitor init a monitor for the config file
Click to show internal directories.
Click to hide internal directories.