package
1.0.0
Repository: https://github.com/bytom/bystack.git
Documentation: pkg.go.dev

# Functions

NewStore creates and returns a new Store object.

# Variables

ErrBadID is returned when Create is called on an invalid id string.
ErrBadType is returned when Create is called with a bad type.
ErrDuplicateID is returned when Create is called on an existing ID.
ErrInvalidToken is returned when Check is called on invalid token.
ErrNoMatchID is returned when Delete is called on nonexisting ID.

# Structs

CredentialStore store user access credential.
Token describe the access token.