Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidConfig = errors.New("invalid config") ErrProtocol = errors.New("protocol error") )
View Source
var Plugins = make(map[string]PluginsCreator)
Functions ¶
func MapToStruct ¶
func ParseInt64 ¶
func Register ¶
func Register(name string, creator PluginsCreator)
Types ¶
type Plugin ¶
type PluginsCreator ¶
type PluginsCreator func() Plugin
Click to show internal directories.
Click to hide internal directories.