headersprovider

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCurrent

func GetCurrent() plugin.HeadersProvider

func SetAuthorizationHeader

func SetAuthorizationHeader(value string)

func SetCurrent

func SetCurrent(hp plugin.HeadersProvider)

Types

type HeadersProvider

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

Jump to

Keyboard shortcuts

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