Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GuacamoleHandler ¶
type GuacamoleHandler struct {
// contains filtered or unexported fields
}
func NewGuacamoleHandler ¶
func NewGuacamoleHandler(ws *websocket.Conn, tunnel *Tunnel) *GuacamoleHandler
func (GuacamoleHandler) Start ¶
func (r GuacamoleHandler) Start()
func (GuacamoleHandler) Stop ¶
func (r GuacamoleHandler) Stop()
type Instruction ¶
func NewInstruction ¶
func NewInstruction(opcode string, args ...string) *Instruction
func (*Instruction) Bytes ¶
func (i *Instruction) Bytes() []byte
func (*Instruction) Parse ¶
func (i *Instruction) Parse(content string) *Instruction
func (*Instruction) String ¶
func (i *Instruction) String() string
type Tunnel ¶
type Tunnel struct {
Config *Config
// contains filtered or unexported fields
}
func (*Tunnel) ReadInstruction ¶
func (t *Tunnel) ReadInstruction() (*Instruction, error)
func (*Tunnel) WriteInstruction ¶
func (t *Tunnel) WriteInstruction(instruction *Instruction) (int, error)
Click to show internal directories.
Click to hide internal directories.