Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { CheckConnection() bool UploadChunk(ch swarm.Chunk, pin bool) (address []byte, err error) UploadBlob(data []byte, pin bool, encrypt bool) (address []byte, err error) DownloadChunk(ctx context.Context, address []byte) (data []byte, err error) DownloadBlob(address []byte) (data []byte, respCode int, err error) UnpinChunk(ref utils.Reference) error UnpinBlob(ref utils.Reference) error }
Click to show internal directories.
Click to hide internal directories.