Documentation
¶
Overview ¶
Package ui implements terminal interactions for DataPower Commander. This package contains most of business logic of application and is used to read user input actions and model application responses to those actions.
Index ¶
Constants ¶
View Source
const QuitError = errs.Error("QuitError")
QuitError is constant used to recognize when user wants to quit dpcmder.
Variables ¶
This section is empty.
Functions ¶
func InitialLoad ¶
func InitialLoad()
InitialLoad initializes DataPower and local filesystem access and load initial views.
func ProcessInputEvent ¶
func ProcessInputEvent(event tcell.Event) error
ProcessInputEvent processes given input event and do appropriate action. This is function with main logic of dpcmder.
func StartReadingKeys ¶
func StartReadingKeys()
StartReadingKeys starts (blocking) reading user's input.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.