package
0.4.1
Repository: https://github.com/ncruces/go-cloudflare.git
Documentation: pkg.go.dev

# README

A Cloudflare origin http.Server

GoDoc

# Functions

Listen only accepts TCP connections from Cloudflare IP ranges.
MatchServerNameHost checks if SNI matches the Host header for a TLS http.Request.
NewListener returns a listener that only accepts TCP connections from Cloudflare IP ranges.
NewServer creates a Cloudflare origin http.Server.
NewServerWithCerts creates a Cloudflare origin http.Server from loaded certificates.