Documentation ¶
Overview ¶
Package client contains a client implementation for making requests against desktop proxy instances.
Index ¶
- type Client
- func (p *Client) AudioProxy() (*proxyproto.Conn, error)
- func (p *Client) DisplayProxy() (*proxyproto.Conn, error)
- func (p *Client) GetFile(req *proxyproto.FGetRequest) (*proxyproto.FGetResponse, error)
- func (p *Client) PutFile(req *proxyproto.FPutRequest) error
- func (p *Client) StatFile(req *proxyproto.FStatRequest) (io.ReadCloser, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a structure used by the kvdi-app for sending traffic to and from the kvdi-proxy instances.
func (*Client) AudioProxy ¶
func (p *Client) AudioProxy() (*proxyproto.Conn, error)
AudioProxy returns a new connection for proxying a display stream.
func (*Client) DisplayProxy ¶
func (p *Client) DisplayProxy() (*proxyproto.Conn, error)
DisplayProxy returns a new connection for proxying a display stream.
func (*Client) GetFile ¶
func (p *Client) GetFile(req *proxyproto.FGetRequest) (*proxyproto.FGetResponse, error)
GetFile will retrieve a file on the desktop's filesystem.
func (*Client) PutFile ¶
func (p *Client) PutFile(req *proxyproto.FPutRequest) error
PutFile will send a file to the desktop's filesystem.
func (*Client) StatFile ¶
func (p *Client) StatFile(req *proxyproto.FStatRequest) (io.ReadCloser, error)
StatFile will stat a path on the desktop's filesystem. The returned reader contains json to be presented to the requestor.
Click to show internal directories.
Click to hide internal directories.