Documentation
¶
Overview ¶
Package codec decodes gRPC, Connect, and bare protobuf payloads to JSON.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Codec ¶
type Codec struct {
// contains filtered or unexported fields
}
Codec owns the descriptors used only for protobuf wire decoding.
func New ¶
func New(loaded *schema.Schema, set *descriptorpb.FileDescriptorSet) (*Codec, error)
New constructs a codec and checks that the declarations match its descriptors.
Click to show internal directories.
Click to hide internal directories.