Documentation ¶
Overview ¶
Package commands contains the functionality for the set of commands currently supported by the CLI tooling.
Index ¶
- Variables
- func CountrySeed() (string, error)
- func GenKey() error
- func GenToken(traceID string, log *log.Logger, cfg database.Config, id string, ...) error
- func JurisdictionSeed() (string, error)
- func Migrate(cfg database.Config) error
- func Seed(cfg database.Config) error
- func UserAdd(traceID string, log *log.Logger, cfg database.Config, email, password string) error
- func Users(traceID string, log *log.Logger, cfg database.Config, pageNumber string, ...) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrHelp = errors.New("provided help")
ErrHelp provides context that help was given.
View Source
var Issuer = "MB Appiness Solutions"
Functions ¶
func CountrySeed ¶
func GenToken ¶
func GenToken(traceID string, log *log.Logger, cfg database.Config, id string, privateKeyFile string, algorithm string) error
GenToken generates a JWT for the specified user.
func JurisdictionSeed ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.