module

package
v0.0.0-...-92ef796 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JwtService

type JwtService struct {
	Config   *config.ServerConfig `di:"~"`
	UserDao  *dao.UserDao         `di:"~"`
	TokenDao *dao.TokenDao        `di:"~"`
}

func NewJwtService

func NewJwtService(dic *xdi.DiContainer) *JwtService

func (*JwtService) Check

func (j *JwtService) Check(token string) (*po.User, *exception.ServerError)

manual interceptor

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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