mock_service

package
v2.0.1-rc.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_service is a generated GoMock package.

Index

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) Keep

func (m *MockManager) Keep()

Keep mocks base method

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

func (*MockManager) Stop

func (m *MockManager) Stop()

Stop 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL