cmd

package
v0.0.0-...-98b9f36 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2019 License: MIT Imports: 36 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextWithSignal

func ContextWithSignal(ctx context.Context) context.Context

ContextWithSignal create a context cancelled when SIGINT or SIGTERM are notified

func NewCheckCmd

func NewCheckCmd(ctx context.Context) *cobra.Command

NewCheckCmd creates a new check command

func NewRootCmd

func NewRootCmd() *cobra.Command

NewRootCmd creates a new instance of the root command

func NewServerStartCmd

func NewServerStartCmd(ctx context.Context) *cobra.Command

NewServerStartCmd creates a new http server command

func NewVersionCmd

func NewVersionCmd(ctx context.Context) *cobra.Command

NewVersionCmd creates a new version command

func RunCheck

func RunCheck(cmd *cobra.Command, args []string) error

RunCheck is the run command to check Janus configurations

func RunServerStart

func RunServerStart(ctx context.Context, opts *ServerStartOptions) error

RunServerStart is the run command to start Janus

Types

type ServerStartOptions

type ServerStartOptions struct {
	// contains filtered or unexported fields
}

ServerStartOptions are the command flags

Jump to

Keyboard shortcuts

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