Documentation ¶
Overview ¶
Package mock_service is a generated GoMock package.
Index ¶
- type MockManager
- func (m *MockManager) Alive(alive time.Duration) bool
- func (m *MockManager) EXPECT() *MockManagerMockRecorder
- func (m *MockManager) Keep()
- func (m *MockManager) ServeDownload(listener net.Listener) error
- func (m *MockManager) ServePeer(listener net.Listener) error
- func (m *MockManager) ServeProxy(listener net.Listener) error
- func (m *MockManager) Stop()
- type MockManagerMockRecorder
- func (mr *MockManagerMockRecorder) Alive(alive interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) Keep() *gomock.Call
- func (mr *MockManagerMockRecorder) ServeDownload(listener interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) ServePeer(listener interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) ServeProxy(listener interface{}) *gomock.Call
- func (mr *MockManagerMockRecorder) Stop() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockManager ¶
type MockManager struct {
// contains filtered or unexported fields
}
MockManager is a mock of Manager interface
func NewMockManager ¶
func NewMockManager(ctrl *gomock.Controller) *MockManager
NewMockManager creates a new mock instance
func (*MockManager) Alive ¶
func (m *MockManager) Alive(alive time.Duration) bool
Alive mocks base method
func (*MockManager) EXPECT ¶
func (m *MockManager) EXPECT() *MockManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockManager) ServeDownload ¶
func (m *MockManager) ServeDownload(listener net.Listener) error
ServeDownload mocks base method
func (*MockManager) ServePeer ¶
func (m *MockManager) ServePeer(listener net.Listener) error
ServePeer mocks base method
func (*MockManager) ServeProxy ¶
func (m *MockManager) ServeProxy(listener net.Listener) error
ServeProxy mocks base method
type MockManagerMockRecorder ¶
type MockManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerMockRecorder is the mock recorder for MockManager
func (*MockManagerMockRecorder) Alive ¶
func (mr *MockManagerMockRecorder) Alive(alive interface{}) *gomock.Call
Alive indicates an expected call of Alive
func (*MockManagerMockRecorder) Keep ¶
func (mr *MockManagerMockRecorder) Keep() *gomock.Call
Keep indicates an expected call of Keep
func (*MockManagerMockRecorder) ServeDownload ¶
func (mr *MockManagerMockRecorder) ServeDownload(listener interface{}) *gomock.Call
ServeDownload indicates an expected call of ServeDownload
func (*MockManagerMockRecorder) ServePeer ¶
func (mr *MockManagerMockRecorder) ServePeer(listener interface{}) *gomock.Call
ServePeer indicates an expected call of ServePeer
func (*MockManagerMockRecorder) ServeProxy ¶
func (mr *MockManagerMockRecorder) ServeProxy(listener interface{}) *gomock.Call
ServeProxy indicates an expected call of ServeProxy
func (*MockManagerMockRecorder) Stop ¶
func (mr *MockManagerMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop