rpcheader

package
v1.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package rpcheader is a helper package.

This is not internal as we need to share it across multiple directory structures within Buf.

Index

Constants

View Source
const KeyPrefix = "rpc-"

KeyPrefix is the prefix of both http and grpc headers set with rpc packages.

Variables

This section is empty.

Functions

func StripHeaderPrefixes

func StripHeaderPrefixes(headers map[string]string) map[string]string

StripHeaderPrefixes strips the KeyPrefix from any of the header keys.

Types

This section is empty.

Jump to

Keyboard shortcuts

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