cmd

package
v0.0.0-...-dc791d1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "kcp_tran",
	Short: "kcp_tran use udp to send/receive files from remote side",
	Long:  `kcp_tran use udp to send/receive files from remote side`,
}

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.

func ExecuteListen

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

func ExecuteReceive

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

func ExecuteSend

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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