cmd

package
v0.0.0-...-25ed7e8 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ServerTypeIds = map[ServerType][]string{
	Tcp:  {"tcp"},
	Http: {"http"},
	Grpc: {"grpc"},
}

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type ServerType

type ServerType enumflag.Flag
const (
	Tcp ServerType = iota
	Http
	Grpc
)

Jump to

Keyboard shortcuts

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