grpc

package
v1.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GrpcConnectionManager

type GrpcConnectionManager struct {
	filter.EmptyNetworkFilter
	// contains filtered or unexported fields
}

GrpcConnectionManager network filter for grpc

func CreateGrpcConnectionManager

func CreateGrpcConnectionManager(hcmc *model.GRPCConnectionManagerConfig) *GrpcConnectionManager

CreateGrpcConnectionManager create grpc connection manager

func (*GrpcConnectionManager) ServeHTTP

ServeHTTP handle request and response

type HttpForwarder

type HttpForwarder struct {
	// contains filtered or unexported fields
}

func (*HttpForwarder) Forward

func (hf *HttpForwarder) Forward(r *http.Request) (*http.Response, error)

Jump to

Keyboard shortcuts

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