Imports github.com/NYTimes/gziphandler github.com/rs/cors github.com/sirupsen/logrus gopkg.in/tomb.v2 Standard library imports context encoding/json errors fmt io math/rand net/http net/http/pprof strconv sync time