command

package
v0.0.0-...-76ce97d Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Gen

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

Gen provides the sub-command to generate required stuff.

func GenCert

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

GenCert provides the sub-command to gen SSL certificates.

func GenCertAction

func GenCertAction(_ *config.Config) cli.ActionFunc

GenCertAction defines gen cert action.

func GenCertFlags

func GenCertFlags(_ *config.Config) []cli.Flag

GenCertFlags defines gen cert flags.

func GenCommands

func GenCommands(cfg *config.Config) []*cli.Command

GenCommands defines gen-related sub-commands.

func Health

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

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

func HealthAction

func HealthAction(cfg *config.Config) cli.ActionFunc

HealthAction defines health action.

func HealthFlags

func HealthFlags(cfg *config.Config) []cli.Flag

HealthFlags defines health flags.

func RootAuthors

func RootAuthors(_ *config.Config) []*cli.Author

RootAuthors defines global authors.

func RootBefore

func RootBefore(cfg *config.Config) cli.BeforeFunc

RootBefore defines global before.

func RootCommands

func RootCommands(cfg *config.Config) []*cli.Command

RootCommands defines global commands.

func RootFlags

func RootFlags(cfg *config.Config) []cli.Flag

RootFlags defines the global flags.

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.

func ServerAction

func ServerAction(cfg *config.Config) cli.ActionFunc

ServerAction defines server action.

func ServerFlags

func ServerFlags(cfg *config.Config) []cli.Flag

ServerFlags defines server flags.

Types

This section is empty.

Jump to

Keyboard shortcuts

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