executor

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateInterfaceName

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

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

func (*Client) Start

func (c *Client) Start() 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"`
	ProxyServer             string   `json:"proxyServer"`
}

Jump to

Keyboard shortcuts

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