system

package
v0.14.5 Latest Latest
Warning

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

Go to latest
Published: May 14, 2023 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AliasIP added in v0.12.0

func AliasIP(ctx context.Context, alias string) error

func FreePort

func FreePort(preference int) (int, error)

func IsElevated

func IsElevated() (bool, error)

func OpenPort added in v0.7.0

func OpenPort(port int) bool

func ResetSocksProxy added in v0.12.0

func ResetSocksProxy() error

func RunElevated

func RunElevated() error

func SetSocksProxy added in v0.12.0

func SetSocksProxy(host, port string) error

func UnaliasIP added in v0.12.0

func UnaliasIP(ctx context.Context, alias string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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