mwcodec

package
v0.0.0-...-36d6306 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 5, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mwcodec provides custom codecs for Connect RPC.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewJSONCodec

func NewJSONCodec() connect.Codec

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL