Versions in this module Expand all Collapse all v1 v1.0.2 Dec 16, 2024 v1.0.1 Dec 16, 2024 Changes in this version + const RFB003003 + const RFB003007 + const RFB003008 + const SEC_INVALID + const SEC_NONE + const SEC_VNC + type BitRect struct + Pf *PixelFormat + Rects []Rectangles + type ClientCutText struct + Message string + Padding uint16 + Padding1 uint8 + Size uint32 + type FrameBufferUpdateRequest struct + Height uint16 + Incremental uint8 + Width uint16 + X uint16 + Y uint16 + type KeyEvent struct + DownFlag uint8 + Key uint32 + Padding uint16 + type PixelFormat struct + BigEndianFlag uint8 + BitsPerPixel uint8 + BlueMax uint16 + BlueShift uint8 + Depth uint8 + GreenMax uint16 + GreenShift uint8 + Padding uint16 + Padding1 uint8 + RedMax uint16 + RedShift uint8 + TrueColorFlag uint8 + func NewPixelFormat() *PixelFormat + func ReadPixelFormat(r io.Reader) *PixelFormat + type PointerEvent struct + Mask uint8 + XPos uint16 + YPos uint16 + type RFB struct + CurrentRect *Rectangle + NbRect int + PixelFormat *PixelFormat + SecurityLevel uint8 + ServerName string + Version string + func NewRFB(t core.Transport) *RFB + func (fb *RFB) Connect() error + func (fb *RFB) SendClientCutText(t *ClientCutText) + func (fb *RFB) SendKeyEvent(k *KeyEvent) + func (fb *RFB) SendPointEvent(p *PointerEvent) + type RFBConn struct + BitRect *BitRect + Conn net.Conn + NbRect uint16 + Password string + func NewRFBConn(s net.Conn, passwd string) *RFBConn + func (fc *RFBConn) Close() error + func (fc *RFBConn) Read(b []byte) (n int, err error) + func (fc *RFBConn) Write(data []byte) (n int, err error) + type Rectangle struct + Encoding uint32 + Height uint16 + Width uint16 + X uint16 + Y uint16 + type Rectangles struct + Data []byte + Rect *Rectangle + type ServerCutTextHeader struct + Padding [3]byte + Size uint32 + type ServerInit struct + Height uint16 + PixelFormat *PixelFormat + Width uint16