Help us shape the future of Go! Take the 2026 Go Developer Survey

virtual

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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
}

func NewClient

func NewClient(options ClientOptions) (*Client, error)

func (*Client) Close

func (c *Client) Close()

func (*Client) PeerListener

func (c *Client) PeerListener() net.Listener

func (*Client) Run

func (c *Client) Run(ctx context.Context) error

func (*Client) Service

func (c *Client) Service() *client.Service

func (*Client) UpdateProxyConfigurer

func (c *Client) UpdateProxyConfigurer(proxyCfgs []v1.ProxyConfigurer)

type ClientOptions

type ClientOptions struct {
	Common           *v1.ClientCommonConfig
	Spec             *msg.ClientSpec
	HandleWorkConnCb func(*v1.ProxyBaseConfig, net.Conn, *msg.StartWorkConn) bool
}

Jump to

Keyboard shortcuts

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