grpc

package
v0.9.2-rc2 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidPayload = errors.New("grpc invalid payload")

Functions

func NewGRPCCodec

func NewGRPCCodec(opts ...CodecOption) remote.Codec

NewGRPCCodec create grpc and protobuf codec

Types

type CodecOption

type CodecOption func(c *grpcCodec)

func WithThriftCodec

func WithThriftCodec(t remote.PayloadCodec) CodecOption

Jump to

Keyboard shortcuts

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