middleware

package
v0.0.1-test Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CustomQueryParameters

func CustomQueryParameters(logger log.Logger) sdkhttpclient.Middleware

func ForceHttpGet

func ForceHttpGet(logger log.Logger) sdkhttpclient.Middleware

func ReqHeadersMiddleware

func ReqHeadersMiddleware(headers map[string]string) sdkHTTPClient.Middleware

ReqHeadersMiddleware is used so that we can pass req headers through the prometheus go client as it does not allow access to the request directly. Should be used together with WithContextualMiddleware so that it is attached to the context of each request with its unique headers.

Types

This section is empty.

Jump to

Keyboard shortcuts

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