Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustCreateLogger ¶
Types ¶
type RemoteConfig ¶
type RemoteConfig struct { Name string `mapstructure:"name"` Username string `mapstructure:"username"` Password string `mapstructure:"password"` AuthToken string `mapstructure:"-"` URL string `mapstructure:"url"` Root string `mapstructure:"root"` PrivateKeyPath string `mapstructure:"private_key_path"` }
type RootConfig ¶
type RootConfig struct { UpdateInterval time.Duration UpdateIntervalString string `mapstructure:"update_interval"` Remotes []*RemoteConfig `mapstructure:"remotes"` Rules []*RulesConfig `mapstructure:"rules"` }
var Global *RootConfig
Click to show internal directories.
Click to hide internal directories.