commands

package
v0.0.0-...-faaee1e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package commands contains the set of functionality (commands) of the sales admin CLI tooling.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeyGen

func KeyGen() error

KeyGen creates an x509 private/public key for auth tokens.

func Migrate

func Migrate(cfg database.Config) error

Migrate creates the schema in the database.

func Seed

func Seed(cfg database.Config) error

Seed loads test data into the database.

func TokenGen

func TokenGen(id string, privateKeyFile string, algorithm string) error

TokenGen generates a JWT for the specified user.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL