Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPieceStoreAPI ¶
type MockPieceStoreAPI struct {
// contains filtered or unexported fields
}
MockPieceStoreAPI is a mock of PieceStoreAPI interface.
func NewMockPieceStoreAPI ¶
func NewMockPieceStoreAPI(ctrl *gomock.Controller) *MockPieceStoreAPI
NewMockPieceStoreAPI creates a new mock instance.
func (*MockPieceStoreAPI) EXPECT ¶
func (m *MockPieceStoreAPI) EXPECT() *MockPieceStoreAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockPieceStoreAPIMockRecorder ¶
type MockPieceStoreAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockPieceStoreAPIMockRecorder is the mock recorder for MockPieceStoreAPI.
func (*MockPieceStoreAPIMockRecorder) GetPiece ¶
func (mr *MockPieceStoreAPIMockRecorder) GetPiece(ctx, key, offset, limit interface{}) *gomock.Call
GetPiece indicates an expected call of GetPiece.
func (*MockPieceStoreAPIMockRecorder) PutPiece ¶
func (mr *MockPieceStoreAPIMockRecorder) PutPiece(key, value interface{}) *gomock.Call
PutPiece indicates an expected call of PutPiece.
Click to show internal directories.
Click to hide internal directories.