Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenSigner ¶
type TokenSigner struct {
// contains filtered or unexported fields
}
func NewTokenSigner ¶
func NewTokenSigner(secret string, duration time.Duration) (TokenSigner, error)
Click to show internal directories.
Click to hide internal directories.