menu

package
v1.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MAIN is for the main menu
	MAIN = iota
	// AGENT is for the agent menu
	AGENT
	// MODULE is for the module menu
	MODULE
	// LISTENER is for a specific, already instantiated, listener menu
	LISTENER
	// LISTENERS is for the top-level listeners menu
	LISTENERS
	// LISTENERSETUP is the menu used to configure listener options before creation
	LISTENERSETUP
)

Variables

This section is empty.

Functions

func Handle

func Handle(cmd []string)

Handle receives commands entered on the command line and processes them to take an action

func Set

func Set(m int)

Set configures the CLI's to use a specific menu system. Typically, used to switch between menus.

Types

This section is empty.

Jump to

Keyboard shortcuts

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