cliui

package module
v0.0.0-...-564e8e8 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2023 License: MIT Imports: 6 Imported by: 0

README

cli-ui

Text-based command line style embedded user interface

Brief

This module is a "command line style" user interface. The interface will be rendered out according to a schema file, and internal functions will be linked to each user input by regular expressions.

Format and syntax of the schema file mentioned above is currentlly undecided.

Background

Project initial for a higher development efficiency of embedded network systems

Documentation

Overview

A simple cli-based user interface

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	// contains filtered or unexported fields
}

func Create

func Create(frontType string, getPrompt func() string, getBanner func() string, backendConfigPath string, listenOn string) (agent *Agent)

func (*Agent) FrontEndType

func (agent *Agent) FrontEndType() interfaces.UI_AGENT_FE_TYPE

func (*Agent) Start

func (agent *Agent) Start() error

func (*Agent) Stop

func (agent *Agent) Stop()

Directories

Path Synopsis
protocol
Package telnet provides simple interface for interacting with Telnet connection.
Package telnet provides simple interface for interacting with Telnet connection.

Jump to

Keyboard shortcuts

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