Documentation ¶
Overview ¶
Package accesstoken provides storage and validation of Chain Core credentials.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrBadID is returned when Create is called on an invalid id string. ErrBadID = errors.New("invalid id") // ErrDuplicateID is returned when Create is called on an existing ID. ErrDuplicateID = errors.New("duplicate access token ID") // ErrBadType is returned when Create is called with a bad type. ErrBadType = errors.New("type must be client or network") )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.