messages

package
Version: v0.0.0-...-4a1a6b8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package messages provides constants for the client and server messages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientMessage

type ClientMessage uint8

ClientMessage represents a Client-to-Server RFB message type.

const (
	SetPixelFormat ClientMessage = iota

	SetEncodings
	FramebufferUpdateRequest
	KeyEvent
	PointerEvent
	ClientCutText
)

Client-to-Server message types.

func (ClientMessage) String

func (i ClientMessage) String() string

type ServerMessage

type ServerMessage uint8

ServerMessage represents a Server-to-Client RFB message type.

const (
	FramebufferUpdate ServerMessage = iota
	SetColorMapEntries
	Bell
	ServerCutText
)

Server-to-Client message types.

func (ServerMessage) String

func (i ServerMessage) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL