Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AdminStateFunc ¶
type AdminStateFunc func() *mux.AdminState
AdminStateFunc returns the current admin panel state. Used by the kick action to resolve the selected connection ID.
type Processor ¶
type Processor struct {
PrefixKey byte
AdminState AdminStateFunc
Prefix bool
HUDLocked bool
GotoMode bool
AdminOpen bool
ScrollMode bool
GotoBuf []byte
LastPrefixTime time.Time
}
Processor handles prefix key state and translates raw input bytes into proto messages. Used by both the local client and SSH/relay bridges.
Click to show internal directories.
Click to hide internal directories.