timeoutconn

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2015 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package timeoutconn provides overridden net.Conn that supports deadline (timeout).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(netConn net.Conn, timeout time.Duration) net.Conn

New creates a net.Conn with a timeout for every Read operation.

Types

This section is empty.

Jump to

Keyboard shortcuts

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