Documentation ¶ Index ¶ func NewScreen(s ssh.Session) (tcell.Screen, error) type Server func (s *Server) Activate(ctx context.Context) (err error) func (s *Server) Assemble(h SessionHandler) func (s *Server) Deactivate(ctx context.Context) error type Session type SessionHandler Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewScreen ¶ func NewScreen(s ssh.Session) (tcell.Screen, error) Types ¶ type Server ¶ type Server struct { Addr string Handler SessionHandler *ssh.Server `json:"-"` } func (*Server) Activate ¶ func (s *Server) Activate(ctx context.Context) (err error) func (*Server) Assemble ¶ func (s *Server) Assemble(h SessionHandler) func (*Server) Deactivate ¶ func (s *Server) Deactivate(ctx context.Context) error type Session ¶ type Session = ssh.Session type SessionHandler ¶ type SessionHandler interface { HandleSSH(ssh.Session) } Source Files ¶ View all Source files ssh.go Click to show internal directories. Click to hide internal directories.