Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSeederServer ¶
type MockSeederServer struct {
// contains filtered or unexported fields
}
MockSeederServer is a mock of SeederServer interface.
func NewMockSeederServer ¶
func NewMockSeederServer(ctrl *gomock.Controller) *MockSeederServer
NewMockSeederServer creates a new mock instance.
func (*MockSeederServer) EXPECT ¶
func (m *MockSeederServer) EXPECT() *MockSeederServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSeederServer) GetPieceTasks ¶
func (m *MockSeederServer) GetPieceTasks(arg0 context.Context, arg1 *base.PieceTaskRequest) (*base.PiecePacket, error)
GetPieceTasks mocks base method.
func (*MockSeederServer) ObtainSeeds ¶
func (m *MockSeederServer) ObtainSeeds(arg0 context.Context, arg1 *cdnsystem.SeedRequest, arg2 chan<- *cdnsystem.PieceSeed) error
ObtainSeeds mocks base method.
type MockSeederServerMockRecorder ¶
type MockSeederServerMockRecorder struct {
// contains filtered or unexported fields
}
MockSeederServerMockRecorder is the mock recorder for MockSeederServer.
func (*MockSeederServerMockRecorder) GetPieceTasks ¶
func (mr *MockSeederServerMockRecorder) GetPieceTasks(arg0, arg1 interface{}) *gomock.Call
GetPieceTasks indicates an expected call of GetPieceTasks.
func (*MockSeederServerMockRecorder) ObtainSeeds ¶
func (mr *MockSeederServerMockRecorder) ObtainSeeds(arg0, arg1, arg2 interface{}) *gomock.Call
ObtainSeeds indicates an expected call of ObtainSeeds.
Click to show internal directories.
Click to hide internal directories.