services

package
v0.0.0-...-60376ea Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthService

type AuthService struct{}

func (AuthService) GenAccessToken

func (AuthService) GenAccessToken(userId string) string

func (AuthService) GenHashPassFromInput

func (AuthService) GenHashPassFromInput(input string) string

func (AuthService) HandleLogin

func (as AuthService) HandleLogin(payload user.Login) (err *exception.Response, data interface{})

func (AuthService) HandleRegister

func (AuthService) HandleRegister(payload user.Register) (err *exception.Response, data interface{})

Jump to

Keyboard shortcuts

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