executor

package
v0.11.8 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: GPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Start() error
	Close() error
	RuntimeDetail() (interface{}, error)
}

func New

func New() (Client, error)

type Detail

type Detail struct {
	DirectedInterfaceName   string   `json:"directedInterfaceName"`
	DirectedInterfaceV4Addr string   `json:"directedInterfaceV4Addr"`
	TunInterfaceName        string   `json:"tunInterfaceName"`
	LocalDns                []string `json:"localDns"`
	RemoteDns               []string `json:"remoteDns"`
	BoostDns                string   `json:"boostDns"`
}

type RuntimeConfig added in v0.11.0

type RuntimeConfig struct {
	C.Proxy
	// contains filtered or unexported fields
}

type SysProxyDetail added in v0.11.0

type SysProxyDetail struct {
}

type SystemProxyClient added in v0.11.0

type SystemProxyClient struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*SystemProxyClient) Close added in v0.11.0

func (c *SystemProxyClient) Close() error

func (*SystemProxyClient) RuntimeDetail added in v0.11.0

func (c *SystemProxyClient) RuntimeDetail() (interface{}, error)

func (*SystemProxyClient) Start added in v0.11.0

func (c *SystemProxyClient) Start() error

type TunClient added in v0.11.0

type TunClient struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func (*TunClient) Close added in v0.11.0

func (c *TunClient) Close() error

func (*TunClient) RuntimeDetail added in v0.11.0

func (c *TunClient) RuntimeDetail() (interface{}, error)

func (*TunClient) Start added in v0.11.0

func (c *TunClient) Start() error

Jump to

Keyboard shortcuts

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