Package server for golang.unexpl0.red. Inspired by: https://git.zx2c4.com/golang-package-server/about/
Redirects here for now, because I'm scared of the Great Google Cannon(https://news.ycombinator.com/item?id=34310674)
Because I am vain, and I want vanity imports :^).
-
automatic TLS certificate management/provisioning
- certificates fetched from LetsEncrypt with
golang.org/x/crypto/autocert
- certificates fetched from LetsEncrypt with
-
compiles to static executable
CGO_ENABLED=0
- bundles the accompanying
pkgs.txt
file inside the binary for ease of deployment
- bundles the accompanying
-
drops privleges
- takes flags
uid
andgid
to enable dropping of priveleges after the priveleged bind on port 443 has occured
- takes flags
change the associations in pkgs.txt, and also change the hostname
constant in main.go
, run go build and get those sweet vanity imports!