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"`
Logs struct {
Mode string `mapstructure:"mode"`
Level string `mapstructure:"level"`
} `mapstructure:"logs"`
}
type Configurer ¶
type Foo ¶
type Foo struct {
// contains filtered or unexported fields
}
func (*Foo) Init ¶
func (f *Foo) Init(p Configurer) error
type Foo2 ¶
type Foo2 struct {
// contains filtered or unexported fields
}
func (*Foo2) Init ¶
func (f *Foo2) Init(p Configurer) error
type Foo3 ¶
type Foo3 struct {
// contains filtered or unexported fields
}
func (*Foo3) Init ¶
func (f *Foo3) Init(p Configurer) error
type Foo4 ¶
type Foo4 struct {
// contains filtered or unexported fields
}
func (*Foo4) Init ¶
func (f *Foo4) Init(p Configurer) error
type Foo5 ¶
type Foo5 struct {
// contains filtered or unexported fields
}
func (*Foo5) Init ¶
func (f *Foo5) Init(p Configurer) error
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.