blockstore

package
v0.0.0-...-6333696 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2020 License: Apache-2.0 Imports: 3 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() 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
}

Directories

Path Synopsis
bee

Jump to

Keyboard shortcuts

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