Documentation ¶
Index ¶
- Constants
- func ReadClientMessage(r io.Reader) (interface{}, error)
- type Bell
- type ClientCutText
- type Color
- type Conn
- type Control
- type Event
- type FramebufferUpdate
- type FramebufferUpdateRequest
- type KeyEvent
- type LoadFileEvent
- type PixelFormat
- type Player
- func (p *Player) Clear()
- func (p *Player) Continue(id string) error
- func (p *Player) GetStep(id string) (string, error)
- func (p *Player) Info() [][]string
- func (p *Player) Inject(id, rhost, s string) error
- func (p *Player) Pause(id string) error
- func (p *Player) Playback(id, rhost, filename string) error
- func (p *Player) Step(id string) error
- func (p *Player) Stop(id string) error
- type PointerEvent
- type Recorder
- func (r *Recorder) Clear()
- func (r *Recorder) Info() [][]string
- func (r *Recorder) RecordFB(id, rhost, filename string) error
- func (r *Recorder) RecordKB(id, rhost, filename string) error
- func (r *Recorder) Route(id string, msg interface{})
- func (r *Recorder) StopFB(id string) error
- func (r *Recorder) StopKB(id string) error
- type Rectangle
- type Server
- type ServerCutText
- type SetColorMapEntries
- type SetEncodings
- type SetPixelFormat
- type WaitForItEvent
Constants ¶
View Source
const ( TypeSetPixelFormat uint8 = iota TypeSetEncodings TypeFramebufferUpdateRequest TypeKeyEvent TypePointerEvent TypeClientCutText )
Client to server messages. See RFC 6143 Section 7.5
View Source
const ( TypeFramebufferUpdate uint8 = iota TypeSetColorMapEntries TypeBell TypeServerCutText )
Server to client messages. See RFC 6143 Section 7.6
View Source
const ( RawEncoding = 0 TightEncoding = 7 DesktopSizePseudoEncoding = -223 CursorPseudoEncoding = -239 )
Variables ¶
This section is empty.
Functions ¶
func ReadClientMessage ¶
ReadClientMessage reads the next client-to-server message
Types ¶
type ClientCutText ¶
type ClientCutText struct { Text []uint8 // contains filtered or unexported fields }
type Conn ¶
func (*Conn) ReadMessage ¶
ReadMessage reads the next server-to-client message
type FramebufferUpdate ¶
type FramebufferUpdateRequest ¶
type LoadFileEvent ¶
type LoadFileEvent struct {
File string
}
LoadFileEvent is a pseudo event indicating that we should start reading events from a different file.
type PixelFormat ¶
type Player ¶
type Player struct {
// contains filtered or unexported fields
}
Player keeps track of active playbacks.
type PointerEvent ¶
func (*PointerEvent) String ¶
func (m *PointerEvent) String() string
type Recorder ¶
type Recorder struct {
// contains filtered or unexported fields
}
Recorder keeps track of active recordings.
func NewRecorder ¶
func NewRecorder() *Recorder
type Rectangle ¶
type Server ¶
type Server struct { Width uint16 Height uint16 PixelFormat NameLength uint32 Name []uint8 }
type ServerCutText ¶
type SetColorMapEntries ¶
type SetEncodings ¶
type SetEncodings struct { Encodings []int32 // contains filtered or unexported fields }
type SetPixelFormat ¶
type SetPixelFormat struct { PixelFormat // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.