Documentation ¶
Overview ¶
Package commands contains the functionality for the set of commands currently supported by the CLI tooling.
Index ¶
- Variables
- func GenKey() error
- func GenToken(log *logger.Logger, dbConfig sqldb.Config, keyPath string, userID uuid.UUID, ...) error
- func Migrate(cfg sqldb.Config) error
- func Seed(cfg sqldb.Config) error
- func UserAdd(log *logger.Logger, cfg sqldb.Config, nme string, email string, ...) error
- func Users(log *logger.Logger, cfg sqldb.Config, pageNumber string, rowsPerPage string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrHelp = errors.New("provided help")
ErrHelp provides context that help was given.
Functions ¶
func GenToken ¶
func GenToken(log *logger.Logger, dbConfig sqldb.Config, keyPath string, userID uuid.UUID, kid string) error
GenToken generates a JWT for the specified user.
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.