service

package
v0.0.0-...-fa690bd Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Db    *gorm.DB
	Mongo *mongo.Client
	Rds   *redis.Client
	proto.UnimplementedUserServiceServer
}

func (*Server) BatchGetUsers

BatchGetUsers implements proto.UserServiceServer.

func (*Server) CreateUser

CreateUser implements proto.UserServiceServer.

func (*Server) GetUser

func (s *Server) GetUser(ctx context.Context, in *proto.GetUserRequest) (*proto.GetUserReply, error)

func (*Server) Login

Login implements proto.UserServiceServer.

func (*Server) Logout

Logout implements proto.UserServiceServer.

func (*Server) Register

Register implements proto.UserServiceServer.

func (*Server) UpdatePassword

UpdatePassword implements proto.UserServiceServer.

func (*Server) UpdateUser

UpdateUser implements proto.UserServiceServer.

Jump to

Keyboard shortcuts

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