Documentation ¶
Index ¶
- type ConnectionRequest
- type Controller
- type Request
- type Session
- func (s *Session) Close() (err error)
- func (s *Session) GetSize() (rows, cols int)
- func (s *Session) Read(data []byte) (int, error)
- func (s *Session) Resize(rows, cols int)
- func (s *Session) Serve(ctx context.Context) (err error)
- func (s *Session) Start(ctx context.Context) (err error)
- func (s *Session) Write(data []byte) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionRequest ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController() *Controller
func (*Controller) CleanupClient ¶
func (*Controller) CloseClient ¶
func (*Controller) CreateShell ¶
type Request ¶
type Request struct { Route []ConnectionRequest `json:"route"` Command string `json:"init"` Rows int `json:"rows"` Cols int `json:"cols"` }
Click to show internal directories.
Click to hide internal directories.