listenbuffer

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2014 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewListenBuffer

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

NewListenBuffer returns a listener listening on addr with the protocol. It sets the timeout to wait on first connection before an error is returned

Types

This section is empty.

Jump to

Keyboard shortcuts

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