mock

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: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBeeClient

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

func NewMockBeeClient

func NewMockBeeClient() *MockBeeClient

func (*MockBeeClient) CheckConnection

func (m *MockBeeClient) CheckConnection() bool

func (*MockBeeClient) DownloadBlob

func (m *MockBeeClient) DownloadBlob(address []byte) (data []byte, respCode int, err error)

func (*MockBeeClient) DownloadChunk

func (m *MockBeeClient) DownloadChunk(ctx context.Context, address []byte) (data []byte, err error)

func (*MockBeeClient) UnpinBlob

func (m *MockBeeClient) UnpinBlob(ref utils.Reference) error

func (*MockBeeClient) UnpinChunk

func (m *MockBeeClient) UnpinChunk(ref utils.Reference) error

func (*MockBeeClient) UploadBlob

func (m *MockBeeClient) UploadBlob(data []byte, pin bool, encrypt bool) (address []byte, err error)

func (*MockBeeClient) UploadChunk

func (m *MockBeeClient) UploadChunk(ch swarm.Chunk, pin bool) (address []byte, err error)

Jump to

Keyboard shortcuts

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