go-proxyproto
go-proxyproto copied to clipboard
ProxyProtocol usage with TLS
I want to use go-proxyproto with TLS and couldn't find any examples in the repo. Appreciate if you can provide reference code for using go-proxyproto with TLS.
The tests are a good place to look at, eg https://github.com/pires/go-proxyproto/blob/main/protocol_test.go#L954. However, having Go example tests would be a pretty cool addition.