Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func H2CHandler ¶ added in v0.1.52
H2CHandler wraps the given http.Handler (or nil) such that it can now serve unencrypted h2 traffic. This is useful for hosting providers.
func ListenAndServeSelfSignedTLS ¶ added in v0.1.52
ListenAndServeSelfSignedTLS is a helper which serves https with a known bad certificate. As of July 2025, this is useful for Cloudflare, which allows HTTP/2 over "bad" SSL (rather than h2c).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.