Documentation ¶
Index ¶
- Constants
- type Config
- type Plugin
- func (p *Plugin) Collects() []any
- func (p *Plugin) GetAllStorageDrivers(name endure.Named, constructor kv.Constructor)
- func (p *Plugin) Init(cfg config.Configurer, log *zap.Logger) error
- func (p *Plugin) Name() string
- func (p *Plugin) RPC() any
- func (p *Plugin) Serve() chan error
- func (p *Plugin) Stop() error
Constants ¶
View Source
const ( // PluginName linked to the memory, boltdb, memcached, redis plugins. DO NOT change w/o sync. PluginName string = "kv" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config represents general storage configuration with keys as the user defined kv-names and values as the constructors
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
Plugin for the unified storage
func (*Plugin) GetAllStorageDrivers ¶
func (p *Plugin) GetAllStorageDrivers(name endure.Named, constructor kv.Constructor)
Click to show internal directories.
Click to hide internal directories.