VPN

package
v0.0.0-...-6a3c7e2 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2023 License: LGPL-3.0 Imports: 12 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 NewProtectedDialer

func NewProtectedDialer(p protectSet) *ProtectedDialer

NewProtectedDialer ...

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{})

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