userservice

package
v0.0.0-...-29acfd5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 6 Imported by: 0

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 Blogs

type Blogs = user.Blogs

type GetReq

type GetReq = user.GetReq

type Locale

type Locale = user.Locale

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

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.

func (*MockUserServiceMockRecorder) Get

func (mr *MockUserServiceMockRecorder) Get(ctx, in any, opts ...any) *gomock.Call

Get indicates an expected call of Get.

type User

type User = user.User

type UserService

type UserService interface {
	Get(ctx context.Context, in *GetReq, opts ...grpc.CallOption) (*User, error)
}

func NewUserService

func NewUserService(cli zrpc.Client) UserService

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL