Documentation ¶
Overview ¶
Package token implements methods to manage PASETO tokens. Tokens are assigned to daemons to uniquely identify them in the cluster.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultExpiry is the default token expiration time if nothing is // provided. DefaultExpiry = time.Now().Add(time.Minute * 5) ErrInvalidNB = errors.New("expiry cannot be shorter than NB") ErrMissingBody = errors.New("missing body in params") ErrMissingSecretKey = errors.New("missing secret key in params") )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.