blockstore

package
v0.8.2-rc7 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	CheckConnection(isProxy bool) bool
	UploadSOC(owner string, id string, signature string, data []byte) (address []byte, err error)
	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)
	DeleteReference(address []byte) error
}

Client is the interface for block store

Directories

Path Synopsis
bee

Jump to

Keyboard shortcuts

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