Versions in this module Expand all Collapse all v0 v0.0.1 Aug 1, 2019 Changes in this version + func NewSshClient() (*ssh.Client, error) + func WsSsh(c *gin.Context) + type SshConn struct + ComboOutput *wsBufferWriter + Session *ssh.Session + StdinPipe io.WriteCloser + func NewSshConn(cols, rows int, sshClient *ssh.Client) (*SshConn, error) + func (s *SshConn) Close() + func (ssConn *SshConn) ReceiveWsMsg(wsConn *websocket.Conn, logBuff *bytes.Buffer, exitCh chan bool) + func (ssConn *SshConn) SendComboOutput(wsConn *websocket.Conn, exitCh chan bool) + func (ssConn *SshConn) SessionWait(quitChan chan bool)