package listenbuffer

import "github.com/docker/docker/pkg/listenbuffer"

Package to allow go applications to immediately start listening on a socket, unix, tcp, udp but hold connections until the application has booted and is ready to accept them

Index

Functions

func NewListenBuffer

func NewListenBuffer(proto, addr string, activate chan struct{}) (net.Listener, error)

NewListenBuffer returns a listener listening on addr with the protocol.

Source Files

buffer.go

Version
v0.9.1
Published
Mar 25, 2014
Platform
js/wasm
Imports
1 packages
Last checked
1 minute ago

Tools for package owners.