Documentation ¶ Index ¶ func Decode(token string, publicKey string, claims interface{}) error func ExpiresAt(token string) (*time.Time, error) func JWT(privateKey string, claims interface{}, maxAge time.Duration) (string, error) func KeyPair() (string, string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Decode ¶ func Decode(token string, publicKey string, claims interface{}) error func ExpiresAt ¶ added in v0.2.9 func ExpiresAt(token string) (*time.Time, error) func JWT ¶ func JWT(privateKey string, claims interface{}, maxAge time.Duration) (string, error) func KeyPair ¶ func KeyPair() (string, string, error) Types ¶ This section is empty. Source Files ¶ View all Source files token.go Click to show internal directories. Click to hide internal directories.