Documentation ¶
Index ¶
- type MockChunker
- type MockClient
- type MockEncoder
- type MockReceiver
- func (_m *MockReceiver) Close() error
- func (_m *MockReceiver) EXPECT() *_MockReceiverRecorder
- func (_m *MockReceiver) SaveChunk(_param0 uint32, _param1 []byte, _param2 []byte) error
- func (_m *MockReceiver) Signatures() (signatures.Signatures, error)
- func (_m *MockReceiver) Write(_param0 []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockChunker ¶
type MockChunker struct {
// contains filtered or unexported fields
}
Mock of Chunker interface
func NewMockChunker ¶
func NewMockChunker(ctrl *gomock.Controller) *MockChunker
func (*MockChunker) Close ¶
func (_m *MockChunker) Close() error
func (*MockChunker) EXPECT ¶
func (_m *MockChunker) EXPECT() *_MockChunkerRecorder
func (*MockChunker) Flush ¶
func (_m *MockChunker) Flush() error
func (*MockChunker) Write ¶
func (_m *MockChunker) Write(_param0 byte) error
func (*MockChunker) WriteSignature ¶
func (_m *MockChunker) WriteSignature(_param0 uint32, _param1 []byte) error
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
Mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
func (*MockClient) Call ¶
func (_m *MockClient) Call(_param0 string, _param1 interface{}, _param2 interface{}) error
func (*MockClient) EXPECT ¶
func (_m *MockClient) EXPECT() *_MockClientRecorder
type MockEncoder ¶
type MockEncoder struct {
// contains filtered or unexported fields
}
Mock of Encoder interface
func NewMockEncoder ¶
func NewMockEncoder(ctrl *gomock.Controller) *MockEncoder
func (*MockEncoder) Close ¶
func (_m *MockEncoder) Close() error
func (*MockEncoder) EXPECT ¶
func (_m *MockEncoder) EXPECT() *_MockEncoderRecorder
func (*MockEncoder) WriteSignature ¶
func (_m *MockEncoder) WriteSignature(_param0 uint32, _param1 []byte) error
type MockReceiver ¶
type MockReceiver struct {
// contains filtered or unexported fields
}
Mock of Receiver interface
func NewMockReceiver ¶
func NewMockReceiver(ctrl *gomock.Controller) *MockReceiver
func (*MockReceiver) Close ¶
func (_m *MockReceiver) Close() error
func (*MockReceiver) EXPECT ¶
func (_m *MockReceiver) EXPECT() *_MockReceiverRecorder
func (*MockReceiver) SaveChunk ¶
func (_m *MockReceiver) SaveChunk(_param0 uint32, _param1 []byte, _param2 []byte) error
func (*MockReceiver) Signatures ¶
func (_m *MockReceiver) Signatures() (signatures.Signatures, error)
Click to show internal directories.
Click to hide internal directories.