ok but lerproxy is built on 15 years of Go webserver code, it's really simple, just check it out if you want to see how it's done with Go
i'm only sad i still haven't figured out how to apply URL rewrites, would be nice so i can make a single-account gitea