Imports github.com/spf13/pflag github.com/spf13/viper github.com/gorilla/mux github.com/prometheus/alertmanager/template Standard library imports bytes encoding/json errors fmt io/ioutil log net/http os strings time text/template