Command vanity is a web server that serves go-import meta redirects for vanity domains. See "go help importpath" for details.
Vanity reads TXT records for the requested domain to determine the redirect target. For example, if you wish to use example.org as the base of your import path, create an A record that points to a vanity server:
example.org. A 126.96.36.199
Then add a TXT record for each repository that you wish to map:
example.org. TXT "go-import example.org/foo git https://github.com/example/foo" example.org. TXT "go-import example.org/bar hg https://code.google.com/p/bar"
(The author runs a public vanity instance at 188.8.131.52 that you may use for your own redirects. It comes with no SLA, so use at your own risk.)
Written by Andrew Gerrand <firstname.lastname@example.org>
|internal/dns||Package dns implements a full featured interface to the Domain Name System.|
|internal/letscloud||Package letscloud provides a mechanism for caching letsencrypt data in Google Cloud Storage.|