Documentation
¶
Index ¶
- Variables
- func AddConnection(ip string) *tview.TextView
- func AddViewToMap(view *tview.TextView, ip string)
- func GetViewFromIp(ip string) *tview.TextView
- func Handlers()
- func InitBottomFlex()
- func InitTUI()
- func InitTopFlex()
- func NewShellView(title string) *tview.TextView
- func NewTextView(title string) *tview.TextView
- func NewTitledBox(title string) *tview.Box
- func RemoveConnection(ip string)
- func RemoveViewFromMap(ip string)
- func WriteLogView(data string)
- func WriteTextView(view *tview.TextView, data string)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ConnectionView is the TextView for the connection list. ConnectionView *tview.TextView // LogView is the TextView for the log box. LogView *tview.TextView )
Functions ¶
func AddConnection ¶
AddConnection adds a new shell connection.
func AddViewToMap ¶
AddViewToMap adds a TextView to the map.
func GetViewFromIp ¶
GetViewFromIp returns the view from the ConnViews map.
func NewShellView ¶
NewShellView creates a new box for a connection.
func NewTextView ¶
NewTextView returns a new TextView.
func RemoveConnection ¶
func RemoveConnection(ip string)
RemoveConnection removes connection from shell list.
func RemoveViewFromMap ¶
func RemoveViewFromMap(ip string)
RemoveViewFromMap removes the TextView from the map.
func WriteTextView ¶
WriteTextView writes data to a text view.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.