Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Jwt ¶
Jwt jwt helper
type Provider ¶
type Provider interface { Set(kid string, key []byte, exp time.Duration) error Get(kid string) ([]byte, error) All() (map[string]int, error) Clear() error }
Provider token provider
type RedisProvider ¶
RedisProvider redis token provider
Click to show internal directories.
Click to hide internal directories.