executor

package
v0.4.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateInterfaceName added in v0.2.5

func CalculateInterfaceName(name string) (tunName string)

Types

type Client

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

func New

func New() (*Client, error)

func (*Client) Close

func (c *Client) Close() error

func (*Client) RuntimeDetail added in v0.2.0

func (c *Client) RuntimeDetail() (*Detail, error)

func (*Client) Start

func (c *Client) Start() error

type Detail added in v0.2.0

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"`
	ProxyServer             string   `json:"proxyServer"`
}

Jump to

Keyboard shortcuts

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