cli

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2019 License: MIT Imports: 12 Imported by: 4

Documentation

Index

Constants

View Source
const (
	LISTEN_MODE  = 1
	CONNECT_MODE = 2
)

Variables

This section is empty.

Functions

func Interactive

func Interactive()

Interactive 交互式控制

func ParseArgs

func ParseArgs()

ParseArgs is a function aim to parse the command line args

func PrintBanner

func PrintBanner(data string)

func ShowBanner

func ShowBanner()

func ShowUsage

func ShowUsage()

ShowUsage

Types

type Option

type Option struct {
	LocalPort  int
	RemoteIP   string
	RemotePort int
	Mode       int
}
var Args Option

Args

Jump to

Keyboard shortcuts

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