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