grpc

package module
v3.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package grpc provides a grpc codec

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultMarshalOptions = jsonpb.MarshalOptions{
		UseEnumNumbers:  false,
		EmitUnpopulated: false,
		UseProtoNames:   true,
		AllowPartial:    false,
	}

	DefaultUnmarshalOptions = jsonpb.UnmarshalOptions{
		DiscardUnknown: false,
		AllowPartial:   false,
	}
)

Functions

func MarshalOptions

func MarshalOptions(o jsonpb.MarshalOptions) codec.Option

func NewCodec

func NewCodec(opts ...codec.Option) codec.Codec

func UnmarshalOptions

func UnmarshalOptions(o jsonpb.UnmarshalOptions) codec.Option

Types

This section is empty.

Jump to

Keyboard shortcuts

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