a simple go tool vanity url server.
stephen mcquay
501631a45a
The original reason for having this required configuration parameter was that I didn't think to read the hostname off the request. Doing it this way has the additional benefit of a single server being able to serve a multitude of hostnames. Derek helped me realize this by repeating "there should be sane defaults" like 9000 times (maybe over 9000) till I got so tired of trying to make sure that he understood why I did it that way to begin with that I looked at the problem from a different perspective and like in a dream the solution came to me. fixes #10. |
||
---|---|---|
cmd/ysvd | ||
api_test.go | ||
doc.go | ||
licence.txt | ||
readme.md | ||
server.go | ||
storage_test.go | ||
storage.go | ||
vain_test.go | ||
vain.go |
vain
ysvd
is a vanity url server for use by the go
tool.
installation
$ go get mcquay.me/vain/cmd/ysvd
running server
$ ysvd