utils

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SHELL = "/usr/bin/bash"

Functions

func Exec

func Exec(cmds ...string) (e error)

func RemoveRoute

func RemoveRoute(endpoint string, fwmark uint32) (er error)

func SetInterface

func SetInterface(name string, ips ...string) (er error)

func SetRouteTable

func SetRouteTable(name, endpoint string, fwmark uint32, dests ...netip.Prefix) (er error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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