codec

package
v1.8.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package codec registers the gRPC for optimized marshaling.

Package should be dummy imported to enable.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Codec

type Codec struct{}

Codec provides protobuf encoding.Codec.

func (Codec) Marshal

func (Codec) Marshal(v interface{}) ([]byte, error)

Marshal implements encoding.Codec.

func (Codec) Name

func (Codec) Name() string

Name implements encoding.Codec.

func (Codec) Unmarshal

func (Codec) Unmarshal(data []byte, v interface{}) error

Unmarshal implements encoding.Codec.

Jump to

Keyboard shortcuts

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