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
Click to show internal directories.
Click to hide internal directories.