VPN

package
Version: v0.0.0-...-b4f02c9 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2021 License: GPL-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 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{})

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