adapter

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetAdapter

type NetAdapter struct{}

func (*NetAdapter) InterfaceByIndex

func (a *NetAdapter) InterfaceByIndex(index int) (*net.Interface, error)

type NetlinkAdapter

type NetlinkAdapter struct{}

func (*NetlinkAdapter) RouteList

func (a *NetlinkAdapter) RouteList(link netlink.Link, family int) ([]netlink.Route, error)

Jump to

Keyboard shortcuts

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