Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenCache ¶
type TokenCache interface {
Put(token string, data string, ttl time.Duration)
Get(token string) (string, bool)
Delete(token string)
}
func NewTokenCache ¶
func NewTokenCache() TokenCache
Click to show internal directories.
Click to hide internal directories.