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 UploadSOC(owner string, id string, signature string, data []byte) (address []byte, err error) UploadChunk(ch swarm.Chunk) (address []byte, err error) UploadBlob(data []byte, tag uint32, encrypt bool) (address []byte, err error) UploadBzz(data []byte, fileName string) (address []byte, err error) DownloadChunk(ctx context.Context, address []byte) (data []byte, err error) DownloadBlob(address []byte) (data []byte, respCode int, err error) DownloadBzz(address []byte) (data []byte, respCode int, err error) DeleteReference(address []byte) error CreateTag(address []byte) (uint32, error) GetTag(tag uint32) (int64, int64, int64, error) }
Client is the interface for block store
Click to show internal directories.
Click to hide internal directories.