grpcproxy

package
v0.32.6 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGRPCProxy

func NewGRPCProxy(cb ProxyCallBack, healthCheckPath string) (*grpc.Server, *http.Server, error)

Types

type ProxyCallBack

type ProxyCallBack = func(ctx context.Context, method string, reqBody []byte) ([]byte, metadata.MD, error)

type RawBytesCodec

type RawBytesCodec struct{}

func (RawBytesCodec) Marshal

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

func (RawBytesCodec) Name

func (RawBytesCodec) Name() string

func (RawBytesCodec) String

func (RawBytesCodec) String() string

func (RawBytesCodec) Unmarshal

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

Directories

Path Synopsis
Package testproto is a reverse proxy.
Package testproto is a reverse proxy.

Jump to

Keyboard shortcuts

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