Documentation
¶
Index ¶
- func RunWorker(port uint16, cursor bool)
- type Link
- func (link *Link) Close(send bool)
- func (link *Link) Fork(confDir string) error
- func (link *Link) Forward()
- func (link *Link) GetBytes() (uint64, uint64)
- func (link *Link) GetID() string
- func (link *Link) GetPackets() (uint64, uint64)
- func (link *Link) SetCursor(b bool)
- func (link *Link) SetQuality(q uint32)
- type VNC
- func (v *VNC) Clipboard(conn *conn.Conn, w http.ResponseWriter, r *http.Request)
- func (v *VNC) Ctrl(conn *conn.Conn, w http.ResponseWriter, r *http.Request)
- func (v *VNC) GetLinks() []rule.Link
- func (v *VNC) GetName() string
- func (v *VNC) GetPort() uint16
- func (v *VNC) GetRemote() string
- func (v *VNC) GetTarget() string
- func (v *VNC) GetTypeName() string
- func (v *VNC) Handle(c *conn.Conn)
- func (v *VNC) New(conn *conn.Conn, w http.ResponseWriter, r *http.Request)
- func (v *VNC) NewLink(id, remote string, localConn net.Conn, remoteConn *conn.Conn) rule.Link
- func (v *VNC) OnDisconnect(id string)
- func (v *VNC) Render(w http.ResponseWriter, r *http.Request)
- func (v *VNC) WS(conn *conn.Conn, w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Link ¶
type Link struct {
// contains filtered or unexported fields
}
Link vnc link
func (*Link) GetPackets ¶
GetPackets get send and recv packets
type VNC ¶
VNC vnc handler
func (*VNC) OnDisconnect ¶ added in v0.10.0
OnDisconnect on disconnect message
Source Files
¶
Click to show internal directories.
Click to hide internal directories.