Documentation ¶
Index ¶
- type AuthService
- func (AuthService) GenAccessToken(userId string) string
- func (AuthService) GenHashPassFromInput(input string) string
- func (as AuthService) HandleLogin(payload user.Login) (err *exception.Response, data interface{})
- func (AuthService) HandleRegister(payload user.Register) (err *exception.Response, data interface{})
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{})
Click to show internal directories.
Click to hide internal directories.