Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllConfig ¶
type AllConfig struct { RPC struct { Listen string `mapstructure:"listen"` } `mapstructure:"rpc"` Reload struct { Enabled bool `mapstructure:"enabled"` Interval string `mapstructure:"interval"` Patterns []string `mapstructure:"patterns"` Services struct { HTTP struct { Recursive bool `mapstructure:"recursive"` Ignore []string `mapstructure:"ignore"` Patterns []string `mapstructure:"patterns"` Dirs []string `mapstructure:"dirs"` } `mapstructure:"http"` Jobs struct { Recursive bool `mapstructure:"recursive"` Ignore []string `mapstructure:"ignore"` Dirs []string `mapstructure:"dirs"` } `mapstructure:"jobs"` RPC struct { Recursive bool `mapstructure:"recursive"` Patterns []string `mapstructure:"patterns"` Dirs []string `mapstructure:"dirs"` } `mapstructure:"rpc"` } `mapstructure:"services"` } `mapstructure:"reload"` }
type Foo ¶
type Foo struct {
// contains filtered or unexported fields
}
type ReloadConfig ¶
type ReloadConfig struct { Interval time.Duration Patterns []string Services map[string]ServiceConfig }
ReloadConfig is a Reload configuration point.
Click to show internal directories.
Click to hide internal directories.