Documentation ¶
Overview ¶
Package mock_group is a generated GoMock package.
Index ¶
- type MockCommand
- func (m *MockCommand) CreateGroup(body string) (int, map[string]interface{}, error)
- func (m *MockCommand) DeleteGroup(groupId string) (int, map[string]interface{}, error)
- func (m *MockCommand) EXPECT() *MockCommandMockRecorder
- func (m *MockCommand) GetGroup(groupId string) (int, map[string]interface{}, error)
- func (m *MockCommand) GetGroups() (int, map[string]interface{}, error)
- func (m *MockCommand) JoinGroup(groupId, body string) (int, map[string]interface{}, error)
- func (m *MockCommand) LeaveGroup(groupId, body string) (int, map[string]interface{}, error)
- type MockCommandMockRecorder
- func (mr *MockCommandMockRecorder) CreateGroup(body interface{}) *gomock.Call
- func (mr *MockCommandMockRecorder) DeleteGroup(groupId interface{}) *gomock.Call
- func (mr *MockCommandMockRecorder) GetGroup(groupId interface{}) *gomock.Call
- func (mr *MockCommandMockRecorder) GetGroups() *gomock.Call
- func (mr *MockCommandMockRecorder) JoinGroup(groupId, body interface{}) *gomock.Call
- func (mr *MockCommandMockRecorder) LeaveGroup(groupId, body interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCommand ¶
type MockCommand struct {
// contains filtered or unexported fields
}
MockCommand is a mock of Command interface
func NewMockCommand ¶
func NewMockCommand(ctrl *gomock.Controller) *MockCommand
NewMockCommand creates a new mock instance
func (*MockCommand) CreateGroup ¶
func (m *MockCommand) CreateGroup(body string) (int, map[string]interface{}, error)
CreateGroup mocks base method
func (*MockCommand) DeleteGroup ¶
func (m *MockCommand) DeleteGroup(groupId string) (int, map[string]interface{}, error)
DeleteGroup mocks base method
func (*MockCommand) EXPECT ¶
func (m *MockCommand) EXPECT() *MockCommandMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCommand) GetGroup ¶
func (m *MockCommand) GetGroup(groupId string) (int, map[string]interface{}, error)
GetGroup mocks base method
func (*MockCommand) GetGroups ¶
func (m *MockCommand) GetGroups() (int, map[string]interface{}, error)
GetGroups mocks base method
func (*MockCommand) JoinGroup ¶
func (m *MockCommand) JoinGroup(groupId, body string) (int, map[string]interface{}, error)
JoinGroup mocks base method
func (*MockCommand) LeaveGroup ¶
func (m *MockCommand) LeaveGroup(groupId, body string) (int, map[string]interface{}, error)
LeaveGroup mocks base method
type MockCommandMockRecorder ¶
type MockCommandMockRecorder struct {
// contains filtered or unexported fields
}
MockCommandMockRecorder is the mock recorder for MockCommand
func (*MockCommandMockRecorder) CreateGroup ¶
func (mr *MockCommandMockRecorder) CreateGroup(body interface{}) *gomock.Call
CreateGroup indicates an expected call of CreateGroup
func (*MockCommandMockRecorder) DeleteGroup ¶
func (mr *MockCommandMockRecorder) DeleteGroup(groupId interface{}) *gomock.Call
DeleteGroup indicates an expected call of DeleteGroup
func (*MockCommandMockRecorder) GetGroup ¶
func (mr *MockCommandMockRecorder) GetGroup(groupId interface{}) *gomock.Call
GetGroup indicates an expected call of GetGroup
func (*MockCommandMockRecorder) GetGroups ¶
func (mr *MockCommandMockRecorder) GetGroups() *gomock.Call
GetGroups indicates an expected call of GetGroups
func (*MockCommandMockRecorder) JoinGroup ¶
func (mr *MockCommandMockRecorder) JoinGroup(groupId, body interface{}) *gomock.Call
JoinGroup indicates an expected call of JoinGroup
func (*MockCommandMockRecorder) LeaveGroup ¶
func (mr *MockCommandMockRecorder) LeaveGroup(groupId, body interface{}) *gomock.Call
LeaveGroup indicates an expected call of LeaveGroup