Imports github.com/gorilla/mux github.com/matrix-org/dendrite/appservice/api github.com/matrix-org/dendrite/internal/httputil github.com/matrix-org/util github.com/opentracing/opentracing-go Standard library imports context encoding/json errors net/http