Versions in this module Expand all Collapse all v0 v0.1.0 Apr 13, 2024 Changes in this version + type ConnectionRequest struct + Host string + Pass string + Port int + User string + type Controller struct + func NewController() *Controller + func (c *Controller) CleanupClient(ctx context.Context) + func (c *Controller) CloseClient(req Request, client *ssh.Client) + func (c *Controller) CreateShell(ctx context.Context, req Request) (session *Session, err error) + func (c *Controller) FetchClient(req Request) (client *ssh.Client, err error) + type Request struct + Cols int + Command string + Route []ConnectionRequest + Rows int + func (req Request) Key() string + type Session struct + Req Request + 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)