Imports github.com/nats-io/go-nats github.com/gogo/protobuf/proto github.com/golang/protobuf/proto github.com/pkg/errors Standard library imports net/http/httptest context encoding/json fmt io math net/http strings