command

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrConfigFormatInvalid defines the error if ext is unsupported.
	ErrConfigFormatInvalid = errors.New("config extension is not supported")
)

Functions

func Health

func Health(cfg *config.Config) *cli.Command

Health provides the sub-command to perform a health check.

func Run

func Run() error

Run parses the command line arguments and executes the program.

func Server

func Server(cfg *config.Config) *cli.Command

Server provides the sub-command to start the server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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