Documentation ¶
Overview ¶
Package commands contains the functionality for the set of commands currently supported by the CLI tooling.
Index ¶
- Variables
- func AddUser(log *log.Logger, gqlConfig data.GraphQLConfig, newUser user.NewUser) error
- func GenToken(log *log.Logger, gqlConfig data.GraphQLConfig, email string, ...) error
- func GetUser(log *log.Logger, gqlConfig data.GraphQLConfig, email string) error
- func KeyGen() error
- func Schema(gqlConfig data.GraphQLConfig, config schema.Config) error
- func Seed(log *log.Logger, gqlConfig data.GraphQLConfig, config loader.Config) 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 *log.Logger, gqlConfig data.GraphQLConfig, email string, privateKeyFile string, algorithm string) error
GenToken generates a JWT for the specified user.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.