port

package
v0.0.0-...-a164be7 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrPortProxy = errors.New("error from PortProxy")

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server is a port server listening for port events from RD Guest Agent over vtunnel.

func NewServer

func NewServer(elog debug.Log) *Server

NewServer creates and returns a new instance of a Port Server.

func (*Server) Start

func (s *Server) Start() error

Start initiates the port server on a given host:port

func (*Server) Stop

func (s *Server) Stop()

Stop shuts down the server gracefully

Jump to

Keyboard shortcuts

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