Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JwtManager ¶
type JwtManager struct {
// contains filtered or unexported fields
}
func NewJwtManager ¶
func NewJwtManager(signKey string) *JwtManager
func (*JwtManager) ReadToken ¶
func (j *JwtManager) ReadToken(duration time.Duration) (string, error)
func (*JwtManager) WriteToken ¶
func (j *JwtManager) WriteToken(duration time.Duration) (string, error)
Click to show internal directories.
Click to hide internal directories.