requestaddons

package
v0.5.0-alpha1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SkipValidationFrom

func SkipValidationFrom(ctx context.Context) bool

SkipValidationFrom gets the skip-validation option value from the context

func WithSkipValidation

func WithSkipValidation(parent context.Context, skipValidation bool) context.Context

WithSkipValidation adds the skip-validation info in the request context

func WithSkipValidationHandler

func WithSkipValidationHandler(handler http.Handler) http.Handler

WithSkipValidationHandler adds a query parameter parsing for skipping validation

Types

This section is empty.

Jump to

Keyboard shortcuts

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