Versions in this module Expand all Collapse all v0 v0.5.0 Feb 5, 2016 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 + func (c *Client) SendFile(serviceMethod string, data io.Reader, ret interface{}) error + func (c *Client) Stream(serviceMethod string, args interface{}) (io.ReadCloser, 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)