service

package
v0.0.0-...-a029906 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 License: MIT Imports: 9 Imported by: 0

README

Service

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is service providers.

Functions

This section is empty.

Types

type AuthService

type AuthService struct {
	authv1.UnimplementedAuthServer
	// contains filtered or unexported fields
}

AuthService is a auth service.

func NewAuthService

func NewAuthService(uc *biz.AuthUsecase) *AuthService

NewAuthService new a auth service.

func (*AuthService) Hello

SayHello 实现 authv1.AuthServer 接口的 SayHello 方法

func (*AuthService) LoginByEmailPassword

LoginByEmailPassword user login by email and password.

func (*AuthService) SignupByEmail

type UserService

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

func NewUserService

func NewUserService(uc *biz.UserUsecase) *UserService

func (*UserService) CurrentUserInfo

func (*UserService) DeleteUser

DeleteUser 删除用户

func (*UserService) SaveUser

SaveUser 保存用户

func (*UserService) UpdateUser

UpdateUser 更新用户信息

Jump to

Keyboard shortcuts

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