Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StringWriter ¶
type StringWriter struct {
// contains filtered or unexported fields
}
StringWriter implements the io.Writer interface by writing to a channel
type TUI ¶
type TUI struct { // logging L *zap.Logger // handle for main app logger Logfile string // log file path ConnLogC chan string // channel for redirecting connection history log HPClientMap *map[string]punch.ClientData // connection to HPServer/HPclient's client list // changeClientMap map[string]punch.ClientData // numClients int UIupdate bool ClientUIStage2 bool // bind HPClient HPClient *punch.HPClient //todo: bind udptunnel tunnel info TunnelMan *tunnel.TunnelManager // -- client only // activeTunnels *tview.TreeView // -- server only ConnLogs *tview.TextView // contains filtered or unexported fields }
func (*TUI) ConnectClientList ¶
func (t *TUI) ConnectClientList(m *map[string]punch.ClientData)
Client list linking functions
func (*TUI) ConnectHPClient ¶
HPClient linking functions
func (*TUI) ConnectTunMan ¶
func (t *TUI) ConnectTunMan(m *tunnel.TunnelManager)
todo: Tunnel Manager linking functions
Click to show internal directories.
Click to hide internal directories.