Documentation ¶
Overview ¶
Package mock_service is a generated GoMock package.
Package mock_service is a generated GoMock package.
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 MockChat ¶
type MockChat struct {
// contains filtered or unexported fields
}
MockChat is a mock of Chat interface.
func NewMockChat ¶
func NewMockChat(ctrl *gomock.Controller) *MockChat
NewMockChat creates a new mock instance.
func (*MockChat) EXPECT ¶
func (m *MockChat) EXPECT() *MockChatMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockChatMockRecorder ¶
type MockChatMockRecorder struct {
// contains filtered or unexported fields
}
MockChatMockRecorder is the mock recorder for MockChat.
func (*MockChatMockRecorder) Create ¶
func (mr *MockChatMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockChatMockRecorder) GetAllForUser ¶
func (mr *MockChatMockRecorder) GetAllForUser(arg0 interface{}) *gomock.Call
GetAllForUser indicates an expected call of GetAllForUser.
type MockMessage ¶
type MockMessage struct {
// contains filtered or unexported fields
}
MockMessage is a mock of Message interface.
func NewMockMessage ¶
func NewMockMessage(ctrl *gomock.Controller) *MockMessage
NewMockMessage creates a new mock instance.
func (*MockMessage) Create ¶
func (m *MockMessage) Create(arg0 *model.Message) (string, error)
Create mocks base method.
func (*MockMessage) EXPECT ¶
func (m *MockMessage) EXPECT() *MockMessageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMessage) GetAllForChat ¶
func (m *MockMessage) GetAllForChat(arg0 string) ([]*model.Message, error)
GetAllForChat mocks base method.
type MockMessageMockRecorder ¶
type MockMessageMockRecorder struct {
// contains filtered or unexported fields
}
MockMessageMockRecorder is the mock recorder for MockMessage.
func (*MockMessageMockRecorder) Create ¶
func (mr *MockMessageMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockMessageMockRecorder) GetAllForChat ¶
func (mr *MockMessageMockRecorder) GetAllForChat(arg0 interface{}) *gomock.Call
GetAllForChat indicates an expected call of GetAllForChat.
type MockUser ¶
type MockUser struct {
// contains filtered or unexported fields
}
MockUser is a mock of User interface.
func NewMockUser ¶
func NewMockUser(ctrl *gomock.Controller) *MockUser
NewMockUser creates a new mock instance.
func (*MockUser) EXPECT ¶
func (m *MockUser) EXPECT() *MockUserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUserMockRecorder ¶
type MockUserMockRecorder struct {
// contains filtered or unexported fields
}
MockUserMockRecorder is the mock recorder for MockUser.
func (*MockUserMockRecorder) Create ¶
func (mr *MockUserMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create.