netlib

package
v0.0.32 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EClosed = errors.New("channel closed")
)

Functions

func InterfaceAddrs added in v0.0.32

func InterfaceAddrs() ([]net.Addr, error)

func InterfaceAddrsFilter added in v0.0.32

func InterfaceAddrsFilter(mustUp, noLoopback bool) ([]net.Addr, error)

func InterfaceCheckIPContains added in v0.0.32

func InterfaceCheckIPContains(ip string) bool

Types

type ListenerWithInput

type ListenerWithInput interface {
	net.Listener

	Input(net.Conn) error
}

func NewChanListener

func NewChanListener(addr net.Addr, size int) ListenerWithInput

Jump to

Keyboard shortcuts

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