Documentation ¶
Overview ¶
Package userservice is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockUserService ¶
type MockUserService struct {
// contains filtered or unexported fields
}
MockUserService is a mock of UserService interface.
func NewMockUserService ¶
func NewMockUserService(ctrl *gomock.Controller) *MockUserService
NewMockUserService creates a new mock instance.
func (*MockUserService) EXPECT ¶
func (m *MockUserService) EXPECT() *MockUserServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUserService) Get ¶
func (m *MockUserService) Get(ctx context.Context, in *GetReq, opts ...grpc.CallOption) (*User, error)
Get mocks base method.
type MockUserServiceMockRecorder ¶
type MockUserServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockUserServiceMockRecorder is the mock recorder for MockUserService.
type UserService ¶
type UserService interface {
Get(ctx context.Context, in *GetReq, opts ...grpc.CallOption) (*User, error)
}
func NewUserService ¶
func NewUserService(cli zrpc.Client) UserService
Click to show internal directories.
Click to hide internal directories.