Imports github.com/gorilla/mux github.com/hashicorp/consul/api github.com/tomazk/envcfg Standard library imports encoding/json fmt html io/ioutil log math/rand mega/go-util/erro net/http net/url strconv strings time