Documentation ¶
Index ¶
- type MockClient
- func (_m *MockClient) ContactsList(userID string, limit int, offset int, handler ContactsHandler)
- func (_m *MockClient) EXPECT() *_MockClientRecorder
- func (_m *MockClient) Me(handler UserHandler)
- func (_m *MockClient) Messages(userID string, handler func(error))
- func (_m *MockClient) User(id string, handler UserHandler)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
Mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
func (*MockClient) ContactsList ¶
func (_m *MockClient) ContactsList(userID string, limit int, offset int, handler ContactsHandler)
func (*MockClient) EXPECT ¶
func (_m *MockClient) EXPECT() *_MockClientRecorder
func (*MockClient) Me ¶
func (_m *MockClient) Me(handler UserHandler)
func (*MockClient) Messages ¶
func (_m *MockClient) Messages(userID string, handler func(error))
func (*MockClient) User ¶
func (_m *MockClient) User(id string, handler UserHandler)
Click to show internal directories.
Click to hide internal directories.