plugins

package
v0.0.0-...-f163260 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Handshake = plugin.HandshakeConfig{

	ProtocolVersion:  1,
	MagicCookieKey:   "QUANTOS_KAROD_GRPC_PLUGIN",
	MagicCookieValue: "QKGP",
}
View Source
var PluginMap = map[string]plugin.Plugin{

	"leveldb":      &plugins.LevelDB{},
	"leveldb_grpc": &plugins.LevelDBGrpc{},
}

PluginMap is the map of plugins we can dispense.

Functions

This section is empty.

Types

type Plugin

type Plugin interface {
	plugin.Plugin
}

type PluginManager

type PluginManager interface {
	ServePlugins()
}

func NewPluginManager

func NewPluginManager() PluginManager

type PluginsManager

type PluginsManager struct {
	PluginManager
}

func (*PluginsManager) ServePlugins

func (pm *PluginsManager) ServePlugins()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL