console

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateInputString

func ValidateInputString(input string) bool

ValidateInputString Validate that UINT64 input is required

Types

type Console

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

Console Main user object that references the index processor to process the user query

func NewConsole

func NewConsole(data *data.Data) *Console

NewConsole Initialize the new console objects

func (*Console) Prompt

func (c *Console) Prompt() (string, error)

Prompt Prompt for search term input selector based on previous selection

func (*Console) RunInteractive

func (c *Console) RunInteractive()

RunInteractive Provides interactive console for the user

func (*Console) RunNonInteractive

func (c *Console) RunNonInteractive(applicationId string)

RunNonInteractive Runs without any input from the user based on the command line arguments

func (*Console) Search

func (c *Console) Search(applicationId string) error

Search Search for records from the index

Jump to

Keyboard shortcuts

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