Documentation
¶
Index ¶
- Constants
- type Plugin
- func (p *Plugin) Get(name string) any
- func (p *Plugin) GetCmd() string
- func (p *Plugin) GetVersion() string
- func (p *Plugin) GracefulTimeout() time.Duration
- func (p *Plugin) Has(name string) bool
- func (p *Plugin) Init() error
- func (p *Plugin) Name() string
- func (p *Plugin) Overwrite(values map[string]any) error
- func (p *Plugin) Unmarshal(out any) error
- func (p *Plugin) UnmarshalKey(name string, out any) error
Constants ¶
View Source
const PluginName string = "config"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
Path string
Prefix string
Version string
Cmd string
Timeout time.Duration
// contains filtered or unexported fields
}
func (*Plugin) GracefulTimeout ¶
GracefulTimeout represents timeout for all servers registered in endure
Click to show internal directories.
Click to hide internal directories.