Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
you should define your plugin struct name of plugin file name.
func (*File) SetPluginConfig ¶
func (f *File) SetPluginConfig(cfg interface{})
type Plugin ¶
type Plugin interface { Notice(s string) SetPluginConfig(cfg interface{}) }
func CreatePlugin ¶
type Smtp ¶
type Smtp struct {
// contains filtered or unexported fields
}
you should define your plugin struct name of plugin file name.
func (*Smtp) SetPluginConfig ¶
func (smtp *Smtp) SetPluginConfig(cfg interface{})
type Stdout ¶
type Stdout struct {
// contains filtered or unexported fields
}
you should define your plugin struct name of plugin file name.
func (*Stdout) SetPluginConfig ¶
func (so *Stdout) SetPluginConfig(cfg interface{})
type Syslog ¶
type Syslog struct {
// contains filtered or unexported fields
}
you should define your plugin struct name of plugin file name.
func (*Syslog) SetPluginConfig ¶
func (log *Syslog) SetPluginConfig(cfg interface{})
Click to show internal directories.
Click to hide internal directories.