noop

package
v0.0.0-...-96cf5d6 Latest Latest
Warning

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

Go to latest
Published: May 14, 2023 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHeader

func AddHeader(req *http.Request) *http.Request

func CheckHeader

func CheckHeader(req *http.Request) bool

func ContainsNoop

func ContainsNoop(ctx context.Context) bool

func HttpRequest

func HttpRequest(req *http.Request) *http.Request

HttpRequest returns a clone of the passed request with `noop` into the request's header if the context is `noop`. If `noop`, then `actions` are injected is context has `actions`

func NewCtxWithNoop

func NewCtxWithNoop(ctx context.Context) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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