listeners

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2015 License: Apache-2.0 Imports: 9 Imported by: 28

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIdleConnListener

func NewIdleConnListener(l net.Listener, timeout time.Duration) net.Listener

func NewLimitedListener

func NewLimitedListener(l net.Listener, maxConns uint64) net.Listener

func NewMeasuredListener

func NewMeasuredListener(l net.Listener, reportInterval time.Duration) net.Listener

Types

type StateAwareConn

type StateAwareConn interface {
	OnState(s http.ConnState)
}

StateAware is an interface that aware of HTTP state changes

Jump to

Keyboard shortcuts

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