Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenCache ¶
type TokenCache interface { Get(clientID string) (token string, found bool) Add(clientID, token string, expirationSeconds int) Remove(clientID string) }
func NewTokenCache ¶
func NewTokenCache() TokenCache
Click to show internal directories.
Click to hide internal directories.