Documentation
¶
Index ¶
Constants ¶
View Source
const ( KB // 1 << (10*1) MB // 1 << (10*2) GB // 1 << (10*3) TB // 1 << (10*4) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dashboard ¶
type Dashboard struct {
// contains filtered or unexported fields
}
Dashboard represents the main TUI dashboard
func (*Dashboard) UpdateStats ¶
func (d *Dashboard) UpdateStats(info TunnelInfo)
UpdateStats updates the tunnel information statistics
type HttpReversProxyPty ¶
func NewHttpReverseProxyPty ¶
func NewHttpReverseProxyPty(sess ssh.Session, addr string) (*HttpReversProxyPty, error)
NewHttpReverseProxyPty creates a new terminal UI instance
func (*HttpReversProxyPty) Start ¶
func (t *HttpReversProxyPty) Start() error
func (*HttpReversProxyPty) Update ¶
func (t *HttpReversProxyPty) Update()
type Register ¶
type Register struct {
// contains filtered or unexported fields
}
Register represents the registration terminal UI
type RegisterPty ¶
func NewRegisterPty ¶
func NewRegisterPty(sess ssh.Session, doReg doReg) (*RegisterPty, error)
func (*RegisterPty) Start ¶
func (r *RegisterPty) Start() error
type RequestTable ¶
RequestTable wraps the table model with additional configuration
func (*RequestTable) Init ¶
func (r *RequestTable) Init() tea.Cmd
type TableColumn ¶
TableColumn defines the structure for table column configuration
Click to show internal directories.
Click to hide internal directories.