service

package
v0.0.0-...-51342a6 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is service providers.

Functions

func NewKafkaSender

func NewKafkaSender(conf *conf.Server) (*kafka.Writer, error)

Types

type UserService

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

GreeterService is a greeter service.

func NewUserService

func NewUserService(uc *biz.UserUsecase, sessionUsecase *biz.SessionUsecase, tokenUsecase *biz.TokenUsecase, kw *kafka.Writer) *UserService

func (*UserService) CreateUser

func (s *UserService) CreateUser(ctx context.Context, in *v1.CreateUserRequest) (*v1.User, error)

func (*UserService) RenewToken

func (uc *UserService) RenewToken(ctx context.Context, req *v1.RenewTokenRequest) (*v1.RenewTokenReply, error)

func (*UserService) VerifyPassword

Jump to

Keyboard shortcuts

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