Documentation
¶
Overview ¶
Package mwcodec provides custom codecs for Connect RPC.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewJSONCodec ¶
NewJSONCodec creates a new JSON codec that emits unpopulated fields. Use this with connect.WithCodec() to ensure zero values are included in JSON.
func WithJSONCodec ¶
func WithJSONCodec() connect.HandlerOption
WithJSONCodec returns a connect.Option that uses the custom JSON codec.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.