View definition

func Wrap(l Listener, m mode) *T

Defined in github.com/zenazn/goji/graceful/listener/listener.go

Description

Wrap a net.Listener, returning a net.Listener which supports idle connection tracking and shutdown. Listeners can be placed in to one of three modes, exported as variables from this package: most users will probably want the “Automatic” mode.

Wrap is referenced in 3 repositories

github.com/zeroviscosity/goji github.com/victoru/goji github.com/loint/goji