VPN

package
v0.0.0-...-cfa1f09 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2018 License: AGPL-3.0 Imports: 18 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type V2Dialer

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

func (*V2Dialer) Dial

func (vd *V2Dialer) Dial(network, address string, port uint16, ctx context.Context) (net.Conn, error)

func (*V2Dialer) NotifyMeltdown

func (vd *V2Dialer) NotifyMeltdown(reason error)

type V2RayVPNServiceSupportsSet

type V2RayVPNServiceSupportsSet interface {
	GetVPNFd() int
	Setup(Conf string) int
	Prepare() int
	Shutdown() int
	Protect(int) int
}

type VPNSupport

type VPNSupport struct {
	VpnSupportSet V2RayVPNServiceSupportsSet

	Conf configure.VPNConfig
	Estr *Escort.Escorting
	// contains filtered or unexported fields
}

func (*VPNSupport) OptinNextGenerationTunInterface

func (v *VPNSupport) OptinNextGenerationTunInterface()

func (*VPNSupport) SetStatus

func (v *VPNSupport) SetStatus(st *CoreI.Status)

func (*VPNSupport) VpnSetup

func (v *VPNSupport) VpnSetup()

func (*VPNSupport) VpnShutdown

func (v *VPNSupport) VpnShutdown()

func (*VPNSupport) VpnSupportReady

func (v *VPNSupport) VpnSupportReady()

VpnSupportReady VpnSupportReady

Jump to

Keyboard shortcuts

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