Documentation
¶
Index ¶
- Constants
- type Configuration
- type Instruction
- type Tunnel
- func (opt *Tunnel) Close() error
- func (opt *Tunnel) Flush() error
- func (opt *Tunnel) Read() ([]byte, error)
- func (opt *Tunnel) ReadInstruction() (instruction Instruction, err error)
- func (opt *Tunnel) Write(p []byte) (int, error)
- func (opt *Tunnel) WriteAndFlush(p []byte) (int, error)
- func (opt *Tunnel) WriteInstruction(instruction Instruction) error
- func (opt *Tunnel) WriteInstructionAndFlush(instruction Instruction) error
Constants ¶
View Source
const ( Host = "host" Port = "port" EnableRecording = "enable-recording" RecordingPath = "recording-path" CreateRecordingPath = "create-recording-path" FontName = "font-name" FontSize = "font-size" ColorScheme = "color-scheme" EnableDrive = "enable-drive" DriveName = "drive-name" DrivePath = "drive-path" EnableWallpaper = "enable-wallpaper" EnableTheming = "enable-theming" EnableFontSmoothing = "enable-font-smoothing" EnableFullWindowDrag = "enable-full-window-drag" EnableDesktopComposition = "enable-desktop-composition" EnableMenuAnimations = "enable-menu-animations" DisableBitmapCaching = "disable-bitmap-caching" DisableOffscreenCaching = "disable-offscreen-caching" DisableGlyphCaching = "disable-glyph-caching" )
View Source
const Delimiter = ';'
View Source
const Version = "VERSION_1_2_0"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Configuration ¶
func NewConiguration ¶
func NewConiguration() (ret Configuration)
func (*Configuration) GetParameter ¶
func (opt *Configuration) GetParameter(name string) string
func (*Configuration) SetParameter ¶
func (opt *Configuration) SetParameter(name, value string)
func (*Configuration) UnSetParameter ¶
func (opt *Configuration) UnSetParameter(name string)
type Instruction ¶
func NewInstruction ¶
func NewInstruction(opcode string, args ...string) (ret Instruction)
func (*Instruction) Parse ¶
func (opt *Instruction) Parse(content string) Instruction
func (*Instruction) String ¶
func (opt *Instruction) String() string
type Tunnel ¶
type Tunnel struct {
UUID string
Config Configuration
IsOpen bool
// contains filtered or unexported fields
}
func (*Tunnel) ReadInstruction ¶
func (opt *Tunnel) ReadInstruction() (instruction Instruction, err error)
func (*Tunnel) WriteInstruction ¶
func (opt *Tunnel) WriteInstruction(instruction Instruction) error
func (*Tunnel) WriteInstructionAndFlush ¶
func (opt *Tunnel) WriteInstructionAndFlush(instruction Instruction) error
Click to show internal directories.
Click to hide internal directories.