network

package
v0.0.0-...-cb12b58 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(config *Config) error

Types

type Config

type Config struct {
	Device      *netlink.Device
	DevAddrList []netlink.Addr
	AddressFrom string
	Verbose     bool
}

func NewConfig

func NewConfig(devPromisc string, addrFrom string, verbose bool) (*Config, error)

type NetworkOperation

type NetworkOperation struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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