Documentation ¶
Index ¶
- type Clash
- func (c *Clash) Build(proxyName string, proxyInfo string) interfaces.Vendor
- func (c *Clash) DialTCP(ctx context.Context, url string, network interfaces.RequestOptionsNetwork) (net.Conn, error)
- func (c *Clash) DialUDP(ctx context.Context, url string) (net.PacketConn, error)
- func (c *Clash) ProxyInfo() interfaces.ProxyInfo
- func (c *Clash) Status() interfaces.VendorStatus
- func (c *Clash) Type() interfaces.VendorType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clash ¶
type Clash struct {
// contains filtered or unexported fields
}
func (*Clash) DialTCP ¶
func (c *Clash) DialTCP(ctx context.Context, url string, network interfaces.RequestOptionsNetwork) (net.Conn, error)
func (*Clash) ProxyInfo ¶
func (c *Clash) ProxyInfo() interfaces.ProxyInfo
func (*Clash) Status ¶
func (c *Clash) Status() interfaces.VendorStatus
func (*Clash) Type ¶
func (c *Clash) Type() interfaces.VendorType
Click to show internal directories.
Click to hide internal directories.