netutils

package module
v0.0.0-...-6fbc534 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

README

netutils

My Go network utils

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindIfaceWithAddr

func FindIfaceWithAddr(addr string, withCaller ...bool) (string, error)

FindIfaceWithAddr finds an interface with a given address. returns empty string and error if not found or error happened.

func IfacesWalk

func IfacesWalk(ifaces []net.Interface, f func(*net.Interface)) error

IfacesWalk walks through given net.Interface slice in goroutines

func IfacesWalkSync

func IfacesWalkSync(ifaces []net.Interface, f func(*net.Interface)) error

IfacesWalkSync walks through given net.Interface slice in a sync loop

Types

This section is empty.

Jump to

Keyboard shortcuts

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