client

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2025 License: MIT Imports: 11 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 New

func New(ops ...Option) (*Client, error)

func (*Client) Dial

func (c *Client) Dial(ctx context.Context, h *addr.Addr) (net.Conn, error)

type Option

type Option func(*Client)

func WithDialer

func WithDialer(d proxy.Dialer) Option

func WithProxyAddr

func WithProxyAddr(a *addr.Addr) Option

func WithProxyProto

func WithProxyProto(p proxy.Proto) Option

Jump to

Keyboard shortcuts

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