Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockNetworkEntity
- func (m *MockNetworkEntity) Close() error
- func (m *MockNetworkEntity) EXPECT() *MockNetworkEntityMockRecorder
- func (m *MockNetworkEntity) Kick(arg0 context.Context) error
- func (m *MockNetworkEntity) Push(arg0 string, arg1 interface{}) error
- func (m *MockNetworkEntity) RemoteAddr() net.Addr
- func (m *MockNetworkEntity) ResponseMID(arg0 context.Context, arg1 uint, arg2 interface{}, arg3 ...bool) error
- func (m *MockNetworkEntity) SendRequest(arg0 context.Context, arg1, arg2 string, arg3 interface{}) (*protos.Response, error)
- type MockNetworkEntityMockRecorder
- func (mr *MockNetworkEntityMockRecorder) Close() *gomock.Call
- func (mr *MockNetworkEntityMockRecorder) Kick(arg0 interface{}) *gomock.Call
- func (mr *MockNetworkEntityMockRecorder) Push(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNetworkEntityMockRecorder) RemoteAddr() *gomock.Call
- func (mr *MockNetworkEntityMockRecorder) ResponseMID(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockNetworkEntityMockRecorder) SendRequest(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNetworkEntity ¶
type MockNetworkEntity struct {
// contains filtered or unexported fields
}
MockNetworkEntity is a mock of NetworkEntity interface
func NewMockNetworkEntity ¶
func NewMockNetworkEntity(ctrl *gomock.Controller) *MockNetworkEntity
NewMockNetworkEntity creates a new mock instance
func (*MockNetworkEntity) EXPECT ¶
func (m *MockNetworkEntity) EXPECT() *MockNetworkEntityMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockNetworkEntity) Kick ¶
func (m *MockNetworkEntity) Kick(arg0 context.Context) error
Kick mocks base method
func (*MockNetworkEntity) Push ¶
func (m *MockNetworkEntity) Push(arg0 string, arg1 interface{}) error
Push mocks base method
func (*MockNetworkEntity) RemoteAddr ¶
func (m *MockNetworkEntity) RemoteAddr() net.Addr
RemoteAddr mocks base method
func (*MockNetworkEntity) ResponseMID ¶
func (m *MockNetworkEntity) ResponseMID(arg0 context.Context, arg1 uint, arg2 interface{}, arg3 ...bool) error
ResponseMID mocks base method
func (*MockNetworkEntity) SendRequest ¶
func (m *MockNetworkEntity) SendRequest(arg0 context.Context, arg1, arg2 string, arg3 interface{}) (*protos.Response, error)
SendRequest mocks base method
type MockNetworkEntityMockRecorder ¶
type MockNetworkEntityMockRecorder struct {
// contains filtered or unexported fields
}
MockNetworkEntityMockRecorder is the mock recorder for MockNetworkEntity
func (*MockNetworkEntityMockRecorder) Close ¶
func (mr *MockNetworkEntityMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockNetworkEntityMockRecorder) Kick ¶
func (mr *MockNetworkEntityMockRecorder) Kick(arg0 interface{}) *gomock.Call
Kick indicates an expected call of Kick
func (*MockNetworkEntityMockRecorder) Push ¶
func (mr *MockNetworkEntityMockRecorder) Push(arg0, arg1 interface{}) *gomock.Call
Push indicates an expected call of Push
func (*MockNetworkEntityMockRecorder) RemoteAddr ¶
func (mr *MockNetworkEntityMockRecorder) RemoteAddr() *gomock.Call
RemoteAddr indicates an expected call of RemoteAddr
func (*MockNetworkEntityMockRecorder) ResponseMID ¶
func (mr *MockNetworkEntityMockRecorder) ResponseMID(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
ResponseMID indicates an expected call of ResponseMID
func (*MockNetworkEntityMockRecorder) SendRequest ¶
func (mr *MockNetworkEntityMockRecorder) SendRequest(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
SendRequest indicates an expected call of SendRequest