grpc_transcoder

package
v0.0.0-...-97fc4e4 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TranscodeFile = "grpc-transcoder-envoyfilter.yaml"
	H2MFile       = "header2metadata-envoyfilter.yaml"
)

Variables

View Source
var (
	V16 = `^1\.6.*`
	V17 = `^1\.7.*`
	V18 = `^1\.8.*`
)

Functions

func BuildGrpcTranscoder

func BuildGrpcTranscoder(descriptorFilePath string, packages []string, services []string, version string, serviceName string, servicePort int) (*string, error)

func BuildHeaderToMetadata

func BuildHeaderToMetadata(headers []string, version string, serviceName string, servicePort int) error

func GetGrpcTranscoderTmpl

func GetGrpcTranscoderTmpl() *template.Template

func GetHeaderToMetadataTmplTmpl

func GetHeaderToMetadataTmplTmpl() *template.Template

Types

This section is empty.

Jump to

Keyboard shortcuts

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