Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct {
// the path to the plugin executable
Path string
Config map[string]interface{}
template.Backend
}
Plugin represents the config for a plugin.
func (*Plugin) Connect ¶
Connect creates the connection to the plugin and initializes it with the stored configuration.
func (*Plugin) GetBackend ¶ added in v0.12.2
return Backend config to allow modification before connect() for onetime param or similar
type WatchConfig ¶
type WatchConfig struct {
Prefix string
Opts easykv.WatchOptions
}
WatchConfig holds all data needed by the plugins WatchPrefix method.
Click to show internal directories.
Click to hide internal directories.