package listenbuffer

import "github.com/dotcloud/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
v1.2.0
Published
Aug 20, 2014
Platform
linux/amd64
Imports
1 packages
Last checked
7 minutes ago

Tools for package owners.