Documentation ¶
Overview ¶
Package mock_types is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAPI ¶
type MockAPI struct {
// contains filtered or unexported fields
}
MockAPI is a mock of API interface
func NewMockAPI ¶
func NewMockAPI(ctrl *gomock.Controller) *MockAPI
NewMockAPI creates a new mock instance
func (*MockAPI) Configure ¶
func (m *MockAPI) Configure(message types.ClientMessage) error
Configure mocks base method
func (*MockAPI) EXPECT ¶
func (m *MockAPI) EXPECT() *MockAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockAPIMockRecorder ¶
type MockAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIMockRecorder is the mock recorder for MockAPI
func (*MockAPIMockRecorder) Configure ¶
func (mr *MockAPIMockRecorder) Configure(message interface{}) *gomock.Call
Configure indicates an expected call of Configure
func (*MockAPIMockRecorder) Data ¶
func (mr *MockAPIMockRecorder) Data() *gomock.Call
Data indicates an expected call of Data
func (*MockAPIMockRecorder) GetName ¶
func (mr *MockAPIMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName
func (*MockAPIMockRecorder) Run ¶
func (mr *MockAPIMockRecorder) Run(w interface{}) *gomock.Call
Run indicates an expected call of Run
type MockDataObject ¶
type MockDataObject struct {
// contains filtered or unexported fields
}
MockDataObject is a mock of DataObject interface
func NewMockDataObject ¶
func NewMockDataObject(ctrl *gomock.Controller) *MockDataObject
NewMockDataObject creates a new mock instance
func (*MockDataObject) EXPECT ¶
func (m *MockDataObject) EXPECT() *MockDataObjectMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDataObject) Transform ¶
func (m *MockDataObject) Transform() interface{}
Transform mocks base method
func (*MockDataObject) Update ¶
func (m *MockDataObject) Update(arg0 interface{}) error
Update mocks base method
type MockDataObjectMockRecorder ¶
type MockDataObjectMockRecorder struct {
// contains filtered or unexported fields
}
MockDataObjectMockRecorder is the mock recorder for MockDataObject
func (*MockDataObjectMockRecorder) Transform ¶
func (mr *MockDataObjectMockRecorder) Transform() *gomock.Call
Transform indicates an expected call of Transform
func (*MockDataObjectMockRecorder) Update ¶
func (mr *MockDataObjectMockRecorder) Update(arg0 interface{}) *gomock.Call
Update indicates an expected call of Update
type MockPool ¶
type MockPool struct {
// contains filtered or unexported fields
}
MockPool is a mock of Pool interface
func NewMockPool ¶
func NewMockPool(ctrl *gomock.Controller) *MockPool
NewMockPool creates a new mock instance
func (*MockPool) EXPECT ¶
func (m *MockPool) EXPECT() *MockPoolMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPool) Unregister ¶
Unregister mocks base method
type MockPoolMockRecorder ¶
type MockPoolMockRecorder struct {
// contains filtered or unexported fields
}
MockPoolMockRecorder is the mock recorder for MockPool
func (*MockPoolMockRecorder) Register ¶
func (mr *MockPoolMockRecorder) Register(arg0 interface{}) *gomock.Call
Register indicates an expected call of Register
func (*MockPoolMockRecorder) Save ¶
func (mr *MockPoolMockRecorder) Save() *gomock.Call
Save indicates an expected call of Save
func (*MockPoolMockRecorder) Start ¶
func (mr *MockPoolMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start
func (*MockPoolMockRecorder) Unregister ¶
func (mr *MockPoolMockRecorder) Unregister(arg0 interface{}) *gomock.Call
Unregister indicates an expected call of Unregister
type MockSocket ¶
type MockSocket struct {
// contains filtered or unexported fields
}
MockSocket is a mock of Socket interface
func NewMockSocket ¶
func NewMockSocket(ctrl *gomock.Controller) *MockSocket
NewMockSocket creates a new mock instance
func (*MockSocket) EXPECT ¶
func (m *MockSocket) EXPECT() *MockSocketMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSocket) SendErrorMessage ¶
func (m *MockSocket) SendErrorMessage(arg0 string)
SendErrorMessage mocks base method
type MockSocketMockRecorder ¶
type MockSocketMockRecorder struct {
// contains filtered or unexported fields
}
MockSocketMockRecorder is the mock recorder for MockSocket
func (*MockSocketMockRecorder) Close ¶
func (mr *MockSocketMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockSocketMockRecorder) Read ¶
func (mr *MockSocketMockRecorder) Read() *gomock.Call
Read indicates an expected call of Read
func (*MockSocketMockRecorder) Send ¶
func (mr *MockSocketMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send
func (*MockSocketMockRecorder) SendErrorMessage ¶
func (mr *MockSocketMockRecorder) SendErrorMessage(arg0 interface{}) *gomock.Call
SendErrorMessage indicates an expected call of SendErrorMessage