auth_service

package
v0.0.0-...-3609b48 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateUserHashRedis

func CreateUserHashRedis(id int64, user entities.User) error

func GenerateUserId

func GenerateUserId() int64

func GetUserHashRedis

func GetUserHashRedis(id int) (*entities.User, error)

func GetUserIdByEmail

func GetUserIdByEmail(email string) (int64, error)

func GetUserProfileByEmail

func GetUserProfileByEmail(email string) (*entities.User, error)

func LinkUserEmailWithId

func LinkUserEmailWithId(email string, userId int64) error

Types

type AuthService

type AuthService struct {
	clh_auth.UnimplementedAuthServiceServer
}

func (*AuthService) CreateUser

func (*AuthService) Login

func (*AuthService) ValidateToken

Jump to

Keyboard shortcuts

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