service

package
v0.0.0-...-cf50efe Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2021 License: MIT, MIT Imports: 5 Imported by: 0

README

Service

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewUserService)

ProviderSet is service providers.

Functions

This section is empty.

Types

type UserService

type UserService struct {
	v1.UnimplementedUserServer
	// contains filtered or unexported fields
}

func NewUserService

func NewUserService(uc *biz.UserUseCase, logger log.Logger) *UserService

func (*UserService) CreateUser

func (s *UserService) CreateUser(ctx context.Context, req *v1.CreateUserInfo) (*v1.UserInfoResponse, error)

func (*UserService) GetUserList

func (s *UserService) GetUserList(ctx context.Context, req *v1.PageInfo) (*v1.UserResponseList, error)

Jump to

Keyboard shortcuts

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