Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompletedConfig ¶
type CompletedConfig struct {
*Config
}
CompletedConfig same as Config, just to swap private object.
type Config ¶
type Config struct { MySQLOptions *genericoptions.MySQLOptions RedisOptions *genericoptions.RedisOptions // The maximum concurrency event of user watcher. UserWatcherMaxWorkers int64 // The list of watchers that should be disabled. DisableWatchers []string }
Config is the configuration for the nightwatch server.
func (*Config) Complete ¶
func (c *Config) Complete() *CompletedConfig
Complete fills in any fields not set that are required to have valid data. It's mutating the receiver.
func (*Config) CreateWatcherConfig ¶
CreateWatcherConfig used to create configuration used by all watcher.
Directories ¶
Path | Synopsis |
---|---|
Package watcher provides functions used by all watchers.
|
Package watcher provides functions used by all watchers. |
historyclean
Package historyclean is a watcher implement used to delete expired record from the database.
|
Package historyclean is a watcher implement used to delete expired record from the database. |
user
Package user is a watcher implement.
|
Package user is a watcher implement. |
Click to show internal directories.
Click to hide internal directories.