headersprovider

package
v1.18.1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetAuthorizationHeader

func SetAuthorizationHeader(value string)

func SetCurrent

func SetCurrent(hp HeadersProvider)

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