Documentation ¶
Index ¶
- func New(ctx context.Context, node peer.Node) (iface.Client, error)
- type Client
- func (c *Client) Cancel(jid string, cid_log map[string]string) (interface{}, error)
- func (c *Client) Close()
- func (c *Client) DatabaseStats() (kvdbIface.Stats, error)
- func (c *Client) Done(jid string, cid_log map[string]string, assetCid map[string]string) error
- func (c *Client) Failed(jid string, cid_log map[string]string, assetCid map[string]string) error
- func (c *Client) Get(jid string) (*iface.Job, error)
- func (c *Client) IsLocked(jid string) (bool, error)
- func (c *Client) List() ([]string, error)
- func (c *Client) Lock(jid string, eta uint32) error
- func (c *Client) Peers(pids ...peerCore.ID) iface.Client
- func (c *Client) Timeout(jid string) error
- func (c *Client) Unlock(jid string) error
- type Peer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.