cli

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2019 License: MIT Imports: 14 Imported by: 0

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
	Password   string
}
var Args Option

Args

Jump to

Keyboard shortcuts

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