Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrToken = errors.New("token invalid") ErrExpired = errors.New("token expired") )
Functions ¶
This section is empty.
Types ¶
type Jwt ¶
type Jwt struct {
// contains filtered or unexported fields
}
func (*Jwt) CreateToken ¶
func (j *Jwt) CreateToken(param *PayloadRequest) (string, *Payload, error)
type Maker ¶
Click to show internal directories.
Click to hide internal directories.