Imports github.com/juju/errors github.com/julienschmidt/httprouter github.com/segmentio/go-log github.com/synapse-garden/mf-proto/auth github.com/synapse-garden/mf-proto/db github.com/synapse-garden/mf-proto/util Standard library imports encoding/json fmt net/http