You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
frp/vendor/github.com/pires/go-proxyproto
fatedier c67b4e7b94 vendor: add packages 6 years ago
..
.gitignore vendor: add packages 6 years ago
.travis.yml vendor: add packages 6 years ago
LICENSE vendor: add packages 6 years ago
README.md vendor: add packages 6 years ago
addr_proto.go vendor: add packages 6 years ago
header.go vendor: add packages 6 years ago
v1.go vendor: add packages 6 years ago
v2.go vendor: add packages 6 years ago
version_cmd.go vendor: add packages 6 years ago

README.md

go-proxyproto

Build Status Coverage Status Go Report Card

A Go library implementation of the PROXY protocol, versions 1 and 2, which provides, as per specification:

(...) a convenient way to safely transport connection information such as a client's address across multiple layers of NAT or TCP proxies. It is designed to require little changes to existing components and to limit the performance impact caused by the processing of the transported information.

This library is to be used in one of or both proxy clients and proxy servers that need to support said protocol. Both protocol versions, 1 (text-based) and 2 (binary-based) are supported.

Installation

$ go get -u github.com/pires/go-proxyproto

Usage

Client (TODO)

Server (TODO)

Documentation

http://godoc.org/github.com/pires/go-proxyproto