Documentation ¶
Index ¶
- type Options
- type Plugin
- func (p *Plugin) Close() error
- func (p *Plugin) Configure(pl plugin.Plugin) error
- func (p *Plugin) GetConfiguration() interface{}
- func (p *Plugin) GetName() string
- func (p *Plugin) GetVersion() string
- func (p *Plugin) Init() error
- func (p *Plugin) OnConfigChange(e fsnotify.Event)
- func (p *Plugin) Write(plugin plugin.Plugin) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { Name string FileName string FileType string ConfigPaths []string WriteDefaults bool Debug bool }
Options struct
type Plugin ¶
Plugin struct
func (*Plugin) GetConfiguration ¶
func (p *Plugin) GetConfiguration() interface{}
GetConfiguration return configuration
func (*Plugin) GetVersion ¶
func (*Plugin) OnConfigChange ¶
Click to show internal directories.
Click to hide internal directories.