headersprovider

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetCurrent

func SetCurrent(hp HeadersProvider)

func SetGRPCHeadersProvider

func SetGRPCHeadersProvider(headers map[string]string)

Types

type HeadersProvider

type HeadersProvider interface {
	GetHeaders(context.Context) (map[string]string, error)
}

func GetCurrent

func GetCurrent() HeadersProvider

Jump to

Keyboard shortcuts

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