VPN

package
v0.0.0-...-7f57e4b Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: LGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProtectedDialer

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

ProtectedDialer ...

func NewPreotectedDialer

func NewPreotectedDialer(p protectSet) *ProtectedDialer

NewPreotectedDialer ...

func (*ProtectedDialer) Dial

Dial exported as the protected dial method

func (*ProtectedDialer) IsVServerReady

func (d *ProtectedDialer) IsVServerReady() bool

func (*ProtectedDialer) PrepareDomain

func (d *ProtectedDialer) PrepareDomain(domainName string, closeCh <-chan struct{}, prefIPv6 bool)

PrepareDomain caches direct v2ray server host

func (*ProtectedDialer) PrepareResolveChan

func (d *ProtectedDialer) PrepareResolveChan()

func (*ProtectedDialer) ResolveChan

func (d *ProtectedDialer) ResolveChan() <-chan struct{}

Jump to

Keyboard shortcuts

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