Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadPlugins ¶
func SetLoggerForAllPlugins ¶
func SetLoggerForAllPlugins(sysLog syslogwrapper.SyslogWrapperInterface)
Types ¶
type APIPlugin ¶
type APIPlugin interface { FetchData() (interface{}, error) Schema() string TablePrefix() string ValidateConfig(config json.RawMessage) error Interval() (int, error) SetLogger(sysLog syslogwrapper.SyslogWrapperInterface) GetFieldNames() []string GetValues(record interface{}) []interface{} Name() string // Added method }
func InitPlugin ¶
type PluginSpec ¶
Click to show internal directories.
Click to hide internal directories.