package
0.0.11
Repository: https://github.com/meshapi/grpc-api-gateway.git
Documentation: pkg.go.dev

# Functions

NewMarshalerMIMERegistry returns a new registry of marshalers.

# Constants

MIMEWildcard is the fallback MIME type used for requests which do not match a registered MIME type.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

DecoderWrapper is a wrapper around a *json.Decoder that adds support for protos to the Decode method.
HTTPBodyMarshaler is a Marshaler which supports marshaling of a google.api.HttpBody message as the full response body if it is the actual message used as the response.
JSONBuiltin is a Marshaler which marshals/unmarshals into/from JSON with the standard "encoding/json" package of Golang.
JSONPb is a Marshaler which marshals/unmarshals into/from JSON with the "google.golang.org/protobuf/encoding/protojson" marshaler.
ProtoMarshaller is a Marshaller which marshals/unmarshals into/from serialize proto bytes.
Registry is a mapping from MIME types to Marshalers.

# Interfaces

Decoder decodes a byte sequence.
Delimited defines the streaming delimiter.
Encoder encodes gRPC payloads / fields into byte sequence.
Marshaler defines a conversion between byte sequence and gRPC payloads / fields.

# Type aliases

DecoderFunc adapts an decoder function into Decoder.
EncoderFunc adapts an encoder function into Encoder.