Documentation ¶
Index ¶
- type MockBeeClient
- func (m *MockBeeClient) CheckConnection() bool
- func (m *MockBeeClient) DownloadBlob(address []byte) (data []byte, respCode int, err error)
- func (m *MockBeeClient) DownloadChunk(ctx context.Context, address []byte) (data []byte, err error)
- func (m *MockBeeClient) UnpinBlob(ref utils.Reference) error
- func (m *MockBeeClient) UnpinChunk(ref utils.Reference) error
- func (m *MockBeeClient) UploadBlob(data []byte, pin bool, encrypt bool) (address []byte, err error)
- func (m *MockBeeClient) UploadChunk(ch swarm.Chunk, pin bool) (address []byte, err error)
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 (*MockBeeClient) UnpinChunk ¶
func (m *MockBeeClient) UnpinChunk(ref utils.Reference) error
func (*MockBeeClient) UploadBlob ¶
func (*MockBeeClient) UploadChunk ¶
Click to show internal directories.
Click to hide internal directories.