Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultTTL = time.Hour
DefaultTTL default ttl
Variables ¶
View Source
var ErrNotfound = errors.New("not found")
ErrNotfound not found error
Functions ¶
This section is empty.
Types ¶
type Mgr ¶
type Mgr struct {
// contains filtered or unexported fields
}
Mgr token manager
func NewManager ¶
NewManager new token manager
Click to show internal directories.
Click to hide internal directories.