netutil

package
v0.0.0-...-7725832 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeQuery

func MergeQuery(u url.URL, q url.Values) url.URL

MergeQuery appends additional query values to an existing URL.

func ProxyTCP

func ProxyTCP(conn1, conn2 net.Conn, tlsWriteDeadline, tlsReadDeadline time.Duration)

ProxyTCP proxies between two TCP connections. Because TLS connections don't have CloseRead() and CloseWrite() methods, our temporary solution is to use timeouts.

Types

This section is empty.

Jump to

Keyboard shortcuts

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