Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockMNEDCServer
- func (m *MockMNEDCServer) AcceptRoutine()
- func (m *MockMNEDCServer) Close() error
- func (m *MockMNEDCServer) CreateServer(arg0, arg1 string, arg2 bool) (*server.Server, error)
- func (m *MockMNEDCServer) DispatchRoutine()
- func (m *MockMNEDCServer) EXPECT() *MockMNEDCServerMockRecorder
- func (m *MockMNEDCServer) GetClientIPMap() map[string]server.IPTypes
- func (m *MockMNEDCServer) GetVirtualIP() string
- func (m *MockMNEDCServer) HandleConnection(arg0 net.Conn)
- func (m *MockMNEDCServer) RemoveClient(arg0 string)
- func (m *MockMNEDCServer) Route(arg0 *server.NetPacket)
- func (m *MockMNEDCServer) Run()
- func (m *MockMNEDCServer) SetClientAddress(arg0, arg1 string)
- func (m *MockMNEDCServer) SetClientIP(arg0, arg1, arg2 string)
- func (m *MockMNEDCServer) SetVirtualIP(arg0 string) string
- func (m *MockMNEDCServer) TunReadRoutine()
- func (m *MockMNEDCServer) TunWriteRoutine()
- type MockMNEDCServerMockRecorder
- func (mr *MockMNEDCServerMockRecorder) AcceptRoutine() *gomock.Call
- func (mr *MockMNEDCServerMockRecorder) Close() *gomock.Call
- func (mr *MockMNEDCServerMockRecorder) CreateServer(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMNEDCServerMockRecorder) DispatchRoutine() *gomock.Call
- func (mr *MockMNEDCServerMockRecorder) GetClientIPMap() *gomock.Call
- func (mr *MockMNEDCServerMockRecorder) GetVirtualIP() *gomock.Call
- func (mr *MockMNEDCServerMockRecorder) HandleConnection(arg0 interface{}) *gomock.Call
- func (mr *MockMNEDCServerMockRecorder) RemoveClient(arg0 interface{}) *gomock.Call
- func (mr *MockMNEDCServerMockRecorder) Route(arg0 interface{}) *gomock.Call
- func (mr *MockMNEDCServerMockRecorder) Run() *gomock.Call
- func (mr *MockMNEDCServerMockRecorder) SetClientAddress(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMNEDCServerMockRecorder) SetClientIP(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMNEDCServerMockRecorder) SetVirtualIP(arg0 interface{}) *gomock.Call
- func (mr *MockMNEDCServerMockRecorder) TunReadRoutine() *gomock.Call
- func (mr *MockMNEDCServerMockRecorder) TunWriteRoutine() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMNEDCServer ¶
type MockMNEDCServer struct {
// contains filtered or unexported fields
}
MockMNEDCServer is a mock of MNEDCServer interface.
func NewMockMNEDCServer ¶
func NewMockMNEDCServer(ctrl *gomock.Controller) *MockMNEDCServer
NewMockMNEDCServer creates a new mock instance.
func (*MockMNEDCServer) AcceptRoutine ¶
func (m *MockMNEDCServer) AcceptRoutine()
AcceptRoutine mocks base method.
func (*MockMNEDCServer) CreateServer ¶
CreateServer mocks base method.
func (*MockMNEDCServer) DispatchRoutine ¶
func (m *MockMNEDCServer) DispatchRoutine()
DispatchRoutine mocks base method.
func (*MockMNEDCServer) EXPECT ¶
func (m *MockMNEDCServer) EXPECT() *MockMNEDCServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMNEDCServer) GetClientIPMap ¶
func (m *MockMNEDCServer) GetClientIPMap() map[string]server.IPTypes
GetClientIPMap mocks base method.
func (*MockMNEDCServer) GetVirtualIP ¶
func (m *MockMNEDCServer) GetVirtualIP() string
GetVirtualIP mocks base method
func (*MockMNEDCServer) HandleConnection ¶
func (m *MockMNEDCServer) HandleConnection(arg0 net.Conn)
HandleConnection mocks base method.
func (*MockMNEDCServer) RemoveClient ¶
func (m *MockMNEDCServer) RemoveClient(arg0 string)
RemoveClient mocks base method.
func (*MockMNEDCServer) Route ¶
func (m *MockMNEDCServer) Route(arg0 *server.NetPacket)
Route mocks base method.
func (*MockMNEDCServer) SetClientAddress ¶
func (m *MockMNEDCServer) SetClientAddress(arg0, arg1 string)
SetClientAddress mocks base method.
func (*MockMNEDCServer) SetClientIP ¶
func (m *MockMNEDCServer) SetClientIP(arg0, arg1, arg2 string)
SetClientIP mocks base method.
func (*MockMNEDCServer) SetVirtualIP ¶
func (m *MockMNEDCServer) SetVirtualIP(arg0 string) string
SetVirtualIP mocks base method.
func (*MockMNEDCServer) TunReadRoutine ¶
func (m *MockMNEDCServer) TunReadRoutine()
TunReadRoutine mocks base method.
func (*MockMNEDCServer) TunWriteRoutine ¶
func (m *MockMNEDCServer) TunWriteRoutine()
TunWriteRoutine mocks base method.
type MockMNEDCServerMockRecorder ¶
type MockMNEDCServerMockRecorder struct {
// contains filtered or unexported fields
}
MockMNEDCServerMockRecorder is the mock recorder for MockMNEDCServer.
func (*MockMNEDCServerMockRecorder) AcceptRoutine ¶
func (mr *MockMNEDCServerMockRecorder) AcceptRoutine() *gomock.Call
AcceptRoutine indicates an expected call of AcceptRoutine.
func (*MockMNEDCServerMockRecorder) Close ¶
func (mr *MockMNEDCServerMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockMNEDCServerMockRecorder) CreateServer ¶
func (mr *MockMNEDCServerMockRecorder) CreateServer(arg0, arg1, arg2 interface{}) *gomock.Call
CreateServer indicates an expected call of CreateServer.
func (*MockMNEDCServerMockRecorder) DispatchRoutine ¶
func (mr *MockMNEDCServerMockRecorder) DispatchRoutine() *gomock.Call
DispatchRoutine indicates an expected call of DispatchRoutine.
func (*MockMNEDCServerMockRecorder) GetClientIPMap ¶
func (mr *MockMNEDCServerMockRecorder) GetClientIPMap() *gomock.Call
GetClientIPMap indicates an expected call of GetClientIPMap.
func (*MockMNEDCServerMockRecorder) GetVirtualIP ¶
func (mr *MockMNEDCServerMockRecorder) GetVirtualIP() *gomock.Call
GetVirtualIP indicates an expected call of GetVirtualIP
func (*MockMNEDCServerMockRecorder) HandleConnection ¶
func (mr *MockMNEDCServerMockRecorder) HandleConnection(arg0 interface{}) *gomock.Call
HandleConnection indicates an expected call of HandleConnection.
func (*MockMNEDCServerMockRecorder) RemoveClient ¶
func (mr *MockMNEDCServerMockRecorder) RemoveClient(arg0 interface{}) *gomock.Call
RemoveClient indicates an expected call of RemoveClient.
func (*MockMNEDCServerMockRecorder) Route ¶
func (mr *MockMNEDCServerMockRecorder) Route(arg0 interface{}) *gomock.Call
Route indicates an expected call of Route.
func (*MockMNEDCServerMockRecorder) Run ¶
func (mr *MockMNEDCServerMockRecorder) Run() *gomock.Call
Run indicates an expected call of Run.
func (*MockMNEDCServerMockRecorder) SetClientAddress ¶
func (mr *MockMNEDCServerMockRecorder) SetClientAddress(arg0, arg1 interface{}) *gomock.Call
SetClientAddress indicates an expected call of SetClientAddress.
func (*MockMNEDCServerMockRecorder) SetClientIP ¶
func (mr *MockMNEDCServerMockRecorder) SetClientIP(arg0, arg1, arg2 interface{}) *gomock.Call
SetClientIP indicates an expected call of SetClientIP.
func (*MockMNEDCServerMockRecorder) SetVirtualIP ¶
func (mr *MockMNEDCServerMockRecorder) SetVirtualIP(arg0 interface{}) *gomock.Call
SetVirtualIP indicates an expected call of SetVirtualIP.
func (*MockMNEDCServerMockRecorder) TunReadRoutine ¶
func (mr *MockMNEDCServerMockRecorder) TunReadRoutine() *gomock.Call
TunReadRoutine indicates an expected call of TunReadRoutine.
func (*MockMNEDCServerMockRecorder) TunWriteRoutine ¶
func (mr *MockMNEDCServerMockRecorder) TunWriteRoutine() *gomock.Call
TunWriteRoutine indicates an expected call of TunWriteRoutine.