net

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package net extends the net package in the stdlib.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveVirtualAddr

func ResolveVirtualAddr(network, addr string) net.Addr

ResolveVirtualAddr returns a new in-memory Addr.

Types

type PipeDialer

type PipeDialer struct {
	// contains filtered or unexported fields
}

PipeDialer creates Pipe connections and passes them in a channel.

func PipeListen

func PipeListen(a net.Addr) (net.Listener, *PipeDialer)

PipeListen creates a Listener-Dialer pair.

func (*PipeDialer) Dial

func (l *PipeDialer) Dial() (net.Conn, error)

Dial creates a new Pipe connection.

Directories

Path Synopsis
Package http extends the http package in the stdlib.
Package http extends the http package in the stdlib.
pprof
Package pprof extends the pprof package in the stdlib.
Package pprof extends the pprof package in the stdlib.

Jump to

Keyboard shortcuts

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