Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) Create(in *users.CreateUserRequest) (*users.CreateUserResponse, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) Follow(userReferenceID, followerReferenceID string) error
- func (m *MockClient) GetClaims(in *users.GetClaimsRequest) (*users.GetClaimsResponse, error)
- func (m *MockClient) GetIDByReference(referenceID string) (*int, error)
- func (m *MockClient) GetInfo(userReferenceID string) (*users.Info, error)
- func (m *MockClient) GetProfile(username, userReferenceID string) (*users.Profile, error)
- func (m *MockClient) Unfollow(userReferenceID, followerReferenceID string) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) Create(in interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Follow(userReferenceID, followerReferenceID interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetClaims(in interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetIDByReference(referenceID interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetInfo(userReferenceID interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetProfile(username, userReferenceID interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Unfollow(userReferenceID, followerReferenceID interface{}) *gomock.Call
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
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) Create ¶
func (m *MockClient) Create(in *users.CreateUserRequest) (*users.CreateUserResponse, error)
Create mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) Follow ¶
func (m *MockClient) Follow(userReferenceID, followerReferenceID string) error
Follow mocks base method.
func (*MockClient) GetClaims ¶
func (m *MockClient) GetClaims(in *users.GetClaimsRequest) (*users.GetClaimsResponse, error)
GetClaims mocks base method.
func (*MockClient) GetIDByReference ¶
func (m *MockClient) GetIDByReference(referenceID string) (*int, error)
GetIDByReference mocks base method.
func (*MockClient) GetInfo ¶
func (m *MockClient) GetInfo(userReferenceID string) (*users.Info, error)
GetInfo mocks base method.
func (*MockClient) GetProfile ¶
func (m *MockClient) GetProfile(username, userReferenceID string) (*users.Profile, error)
GetProfile mocks base method.
func (*MockClient) Unfollow ¶
func (m *MockClient) Unfollow(userReferenceID, followerReferenceID string) error
Unfollow mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) Create ¶
func (mr *MockClientMockRecorder) Create(in interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockClientMockRecorder) Follow ¶
func (mr *MockClientMockRecorder) Follow(userReferenceID, followerReferenceID interface{}) *gomock.Call
Follow indicates an expected call of Follow.
func (*MockClientMockRecorder) GetClaims ¶
func (mr *MockClientMockRecorder) GetClaims(in interface{}) *gomock.Call
GetClaims indicates an expected call of GetClaims.
func (*MockClientMockRecorder) GetIDByReference ¶
func (mr *MockClientMockRecorder) GetIDByReference(referenceID interface{}) *gomock.Call
GetIDByReference indicates an expected call of GetIDByReference.
func (*MockClientMockRecorder) GetInfo ¶
func (mr *MockClientMockRecorder) GetInfo(userReferenceID interface{}) *gomock.Call
GetInfo indicates an expected call of GetInfo.
func (*MockClientMockRecorder) GetProfile ¶
func (mr *MockClientMockRecorder) GetProfile(username, userReferenceID interface{}) *gomock.Call
GetProfile indicates an expected call of GetProfile.
func (*MockClientMockRecorder) Unfollow ¶
func (mr *MockClientMockRecorder) Unfollow(userReferenceID, followerReferenceID interface{}) *gomock.Call
Unfollow indicates an expected call of Unfollow.