cmd

package
v0.0.0-...-c328704 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2017 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ENV_SERVER_URL = "EXPOSER_SERVER"
	ENV_KEY        = "EXPOSER_KEY"
)

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "exposer",
	Short: "A way to expose tcp service via websocket",
	Long: `exposer is a agent to expose and link tcp service via websocket.

It is designed to work at somewhere cannot connect tcp server directly,
like firewall limitation.`,
}

RootCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute()

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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