Documentation ¶
Index ¶
- Variables
- func New(ctx context.Context, node peer.Node) (iface.Client, error)
- type Client
- func (client *Client) Cancel(jid string, cid_log map[string]string) (interface{}, error)
- func (c *Client) Close()
- func (client *Client) Done(jid string, cid_log map[string]string, assetCid map[string]string) error
- func (client *Client) Failed(jid string, cid_log map[string]string, assetCid map[string]string) error
- func (client *Client) Get(jid string) (*iface.Job, error)
- func (client *Client) IsLocked(jid string) (bool, error)
- func (client *Client) List() ([]string, error)
- func (client *Client) Lock(jid string, eta uint32) error
- func (client *Client) Timeout(jid string) error
- func (client *Client) Unlock(jid string) error
- type Peer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MinPeers = 0 MaxPeers = 5 DefaultGeoBeaconInterval = 5 * time.Minute ErrorGeoBeaconStoped = errors.New("GeoBeacon Stopped") )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.