netutil

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: MIT Imports: 1 Imported by: 7

Documentation

Overview

Package netutil only defines interfaces for objects which can return listeners.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PacketListener

type PacketListener interface {
	Listen() (listeners []net.PacketConn, err error)
}

PacketListener - an object which can create a slice of PacketConn listeners when invoked

type StreamListener

type StreamListener interface {
	Listen() (listeners []net.Listener, err error)
}

StreamListener - an object which can create a slice of listeners when invoked.

Directories

Path Synopsis
Package pool implements a pool of net.Conn interfaces to manage and reuse them.
Package pool implements a pool of net.Conn interfaces to manage and reuse them.
Package reaper implements an IOActivityTimeout for a net.Conn by having a reaper go-routine monitoring connections for IO activity and close connections which fail to show activity.
Package reaper implements an IOActivityTimeout for a net.Conn by having a reaper go-routine monitoring connections for IO activity and close connections which fail to show activity.

Jump to

Keyboard shortcuts

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