package
0.0.0-20250227102757-f970d6ad5bc5
Repository: https://github.com/clusterlabs/hawk-apiserver.git
Documentation: pkg.go.dev

# Functions

ListenAndServeWithRedirect enables seamless HTTP -> HTTPS redirect on the same port.
NewSingleHostReverseProxy returns a new ReverseProxy that rewrites URLs to the scheme, host, and base path provided in target.

# Structs

ReverseProxy is an HTTP Handler that takes an incoming request and sends it to another server, proxying the response back to the client.