moved ysv -> vain

This commit is contained in:
sm
2016-02-13 00:17:12 -08:00
parent b3585cbc96
commit b7ef100a2c
6 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ import (
"net/http"
"os"
"mcquay.me/ysv"
"mcquay.me/vain"
"github.com/kelseyhightower/envconfig"
)
@@ -45,7 +45,7 @@ func main() {
}
log.Printf("serving at: http://%s:%d/", hostname, c.Port)
sm := http.NewServeMux()
ysv.NewServer(sm)
vain.NewServer(sm)
addr := fmt.Sprintf(":%d", c.Port)
if err := http.ListenAndServe(addr, sm); err != nil {
log.Printf("problem with http server: %v", err)