terminal

package
v0.0.0-...-11b568d Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var HostCompleter = readline.NewPrefixCompleter(
	readline.PcItem("set",
		readline.PcItem("name"),
		readline.PcItem("htype",
			readline.PcItem("ip"),
			readline.PcItem("subnet"),
		),
		readline.PcItem("restriction_type",
			readline.PcItem("whitelist"),
			readline.PcItem("blacklist"),
		),
		readline.PcItem("data"),
	),
	readline.PcItem("options"),
	readline.PcItem("create"),
	readline.PcItem("back"),
)
View Source
var PayloadCompleter = readline.NewPrefixCompleter(
	readline.PcItem("set",
		readline.PcItem("name"),
		readline.PcItem("content_type"),
		readline.PcItem("host_blacklist",
			readline.PcItemDynamic(database.GetHostNameCompleter()),
		),
		readline.PcItem("host_whitelist",
			readline.PcItemDynamic(database.GetHostNameCompleter()),
		),
		readline.PcItem("data_file"),
		readline.PcItem("data_b64"),
		readline.PcItem("ptype"),
		readline.PcItem("filename"),
	),
	readline.PcItem("unset",
		readline.PcItem("content_type"),
		readline.PcItem("host_blacklist"),
		readline.PcItem("host_whitelist"),
		readline.PcItem("data_file"),
		readline.PcItem("data_b64"),
		readline.PcItem("type"),
	),
	readline.PcItem("options"),
	readline.PcItem("create"),
	readline.PcItem("back"),
)

Functions

func StartTerminal

func StartTerminal()

Types

This section is empty.

Jump to

Keyboard shortcuts

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