monkey

package
v1.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2024 License: BSD-3-Clause Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, node peer.Node) (*Client, error)

func (*Client) Cancel

func (c *Client) Cancel(cid cid.Cid, jid string) (response.Response, error)

func (*Client) Close

func (c *Client) Close()

func (*Client) List

func (c *Client) List() ([]string, error)

func (*Client) Status

func (c *Client) Status(jid string) (*monkey.StatusResponse, error)

func (*Client) Update

func (c *Client) Update(jid string, body map[string]interface{}) (string, error)

type Peer

type Peer struct {
	Client
	Id string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL