// use case
Expose your Go HTTP server on a public URL
http.ListenAndServe(":8080", ...) puts your Go server on the loopback interface. lrok publishes it over HTTPS in one command — no code change to net/http or chi or echo.
Run your Go server
$ go run main.goTunnel
$ lrok http 8080Read the original client IP
lrok forwards X-Forwarded-For. If you wrap http.Handler in a middleware that respects it (like httputil.ReverseProxy or chi/middleware.RealIP), r.RemoteAddr-style logic continues to work.
// why lrok for this
lrok itself is written in Go and proxies bytes verbatim. Streaming responses, server-sent events, and chunked transfer encoding all flow through unbuffered.