Versions in this module Expand all Collapse all v0 v0.1.0 Jul 8, 2015 Changes in this version + var ErrNotFound = errors.New("Plugin not found") + var ErrNotImplements = errors.New("Plugin does not implement the requested driver") + func Handle(iface string, fn func(string, *Client)) + type Client struct + func NewClient(addr string, tlsConfig tlsconfig.Options) (*Client, error) + func (c *Client) Call(serviceMethod string, args interface{}, ret interface{}) error + type LocalRegistry struct + func (l *LocalRegistry) Plugin(name string) (*Plugin, error) + type Manifest struct + Implements []string + type Plugin struct + Addr string + Client *Client + Manifest *Manifest + Name string + TLSConfig tlsconfig.Options + func Get(name, imp string) (*Plugin, error) + type Registry interface + Plugin func(name string) (*Plugin, error) + Plugins func() ([]*Plugin, error)