Documentation ¶
Index ¶
- type Link
- type Shell
- func (shell *Shell) GetLinks() []rule.Link
- func (shell *Shell) GetName() string
- func (shell *Shell) GetPort() uint16
- func (shell *Shell) GetRemote() string
- func (shell *Shell) GetTarget() string
- func (shell *Shell) GetTypeName() string
- func (shell *Shell) Handle(c *conn.Conn)
- func (shell *Shell) New(conn *conn.Conn, w http.ResponseWriter, r *http.Request)
- func (shell *Shell) NewLink(id, remote string, localConn net.Conn, remoteConn *conn.Conn) rule.Link
- func (shell *Shell) Render(w http.ResponseWriter, r *http.Request)
- func (shell *Shell) Resize(conn *conn.Conn, w http.ResponseWriter, r *http.Request)
- func (shell *Shell) WS(conn *conn.Conn, w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Link ¶
type Link struct {
// contains filtered or unexported fields
}
Link shell link
func (*Link) GetPackets ¶
GetPackets get send and recv packets
func (*Link) SendResize ¶
SendResize send resize message
type Shell ¶
Shell shell handler
func (*Shell) GetTypeName ¶
GetTypeName get shell rule type name
func (*Shell) Render ¶
func (shell *Shell) Render(w http.ResponseWriter, r *http.Request)
Render render asset file
Click to show internal directories.
Click to hide internal directories.