├── .github ├── FUNDING.yml └── workflows │ ├── golangci-lint.yml │ ├── release.yml │ └── test.yml ├── .gitignore ├── LICENSE ├── README.md ├── addr_proto.go ├── addr_proto_test.go ├── examples ├── client │ └── client.go ├── httpserver │ └── httpserver.go └── server │ └── server.go ├── go.mod ├── go.sum ├── header.go ├── header_test.go ├── helper └── http2 │ ├── http2.go │ ├── http2_test.go │ └── listener.go ├── policy.go ├── policy_test.go ├── protocol.go ├── protocol_test.go ├── tlv.go ├── tlv_test.go ├── tlvparse ├── aws.go ├── aws_test.go ├── azure.go ├── azure_test.go ├── gcp.go ├── gcp_test.go ├── ssl.go ├── ssl_test.go └── test.go ├── v1.go ├── v1_test.go ├── v2.go ├── v2_test.go ├── version_cmd.go └── version_cmd_test.go /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: pires 2 | -------------------------------------------------------------------------------- /.github/workflows/golangci-lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/.github/workflows/golangci-lint.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/README.md -------------------------------------------------------------------------------- /addr_proto.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/addr_proto.go -------------------------------------------------------------------------------- /addr_proto_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/addr_proto_test.go -------------------------------------------------------------------------------- /examples/client/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/examples/client/client.go -------------------------------------------------------------------------------- /examples/httpserver/httpserver.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/examples/httpserver/httpserver.go -------------------------------------------------------------------------------- /examples/server/server.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/examples/server/server.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/go.sum -------------------------------------------------------------------------------- /header.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/header.go -------------------------------------------------------------------------------- /header_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/header_test.go -------------------------------------------------------------------------------- /helper/http2/http2.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/helper/http2/http2.go -------------------------------------------------------------------------------- /helper/http2/http2_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/helper/http2/http2_test.go -------------------------------------------------------------------------------- /helper/http2/listener.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/helper/http2/listener.go -------------------------------------------------------------------------------- /policy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/policy.go -------------------------------------------------------------------------------- /policy_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/policy_test.go -------------------------------------------------------------------------------- /protocol.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/protocol.go -------------------------------------------------------------------------------- /protocol_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/protocol_test.go -------------------------------------------------------------------------------- /tlv.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/tlv.go -------------------------------------------------------------------------------- /tlv_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/tlv_test.go -------------------------------------------------------------------------------- /tlvparse/aws.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/tlvparse/aws.go -------------------------------------------------------------------------------- /tlvparse/aws_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/tlvparse/aws_test.go -------------------------------------------------------------------------------- /tlvparse/azure.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/tlvparse/azure.go -------------------------------------------------------------------------------- /tlvparse/azure_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/tlvparse/azure_test.go -------------------------------------------------------------------------------- /tlvparse/gcp.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/tlvparse/gcp.go -------------------------------------------------------------------------------- /tlvparse/gcp_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/tlvparse/gcp_test.go -------------------------------------------------------------------------------- /tlvparse/ssl.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/tlvparse/ssl.go -------------------------------------------------------------------------------- /tlvparse/ssl_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/tlvparse/ssl_test.go -------------------------------------------------------------------------------- /tlvparse/test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/tlvparse/test.go -------------------------------------------------------------------------------- /v1.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/v1.go -------------------------------------------------------------------------------- /v1_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/v1_test.go -------------------------------------------------------------------------------- /v2.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/v2.go -------------------------------------------------------------------------------- /v2_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/v2_test.go -------------------------------------------------------------------------------- /version_cmd.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/version_cmd.go -------------------------------------------------------------------------------- /version_cmd_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pires/go-proxyproto/HEAD/version_cmd_test.go --------------------------------------------------------------------------------