package grpc

import "github.com/planetscale/vtprotobuf/codec/grpc"

Index

Constants

const Name = "proto"

Name is the name registered for the proto compressor.

Types

type Codec

type Codec struct{}

func (Codec) Marshal

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

func (Codec) Name

func (Codec) Name() string

func (Codec) Unmarshal

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

Source Files

grpc_codec.go

Version
v0.2.0
Published
Jul 12, 2021
Platform
js/wasm
Imports
1 packages
Last checked
2 days ago

Tools for package owners.