userconn.go 200 Bytes EditWeb IDE 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 package proxy import ( "io" "github.com/gliderlabs/ssh" ) type UserConnection interface { io.ReadWriteCloser WinCh() <-chan ssh.Window LoginFrom() string RemoteAddr() string Pty() ssh.Pty }