Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authorizer ¶
type Plugin ¶
type Plugin interface { // Name returns the name and version of the plugin. // format: name-1.0.2 Name() string // Method returns the preferred method of the call Method() muxrpc.Method // Handler returns the muxrpc handler for the plugin Handler() muxrpc.Handler Authorizer }
type PluginManager ¶
type PluginManager interface { Register(Plugin) MakeHandler(conn net.Conn) (muxrpc.Handler, error) }
func NewPluginManager ¶
func NewPluginManager() PluginManager
Click to show internal directories.
Click to hide internal directories.