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.6.0 (latest)
Published
Jan 29, 2024
Platform
linux/amd64
Imports
1 packages
Last checked
1 week ago

Tools for package owners.