local

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Local

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

func (*Local) Build

func (c *Local) Build(proxyName string, proxyInfo string) interfaces.Vendor

func (*Local) DialTCP

func (c *Local) DialTCP(_ context.Context, url string, network interfaces.RequestOptionsNetwork) (net.Conn, error)

func (*Local) DialUDP

func (c *Local) DialUDP(_ context.Context, _ string) (net.PacketConn, error)

func (*Local) Proxy

func (c *Local) Proxy() constant.Proxy

func (*Local) ProxyInfo

func (c *Local) ProxyInfo() interfaces.ProxyInfo

func (*Local) Status

func (c *Local) Status() interfaces.VendorStatus

func (*Local) Type

func (c *Local) Type() interfaces.VendorType

Jump to

Keyboard shortcuts

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