Imports github.com/Sirupsen/logrus github.com/daolinet/daolinet/discovery/kv github.com/daolinet/daolinet/model github.com/gorilla/context github.com/gorilla/mux github.com/mailgun/oxy/forward github.com/samalba/dockerclient Standard library imports bytes crypto/tls encoding/json errors fmt io io/ioutil net net/http net/http/httputil net/url os path strconv strings time