csrf

package
v0.18.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Protect

func Protect(opts ...Option) func(http.Handler) http.Handler

Types

type Option

type Option func(*csrf)

func ErrorHandler

func ErrorHandler(h http.Handler) Option

func HeaderName

func HeaderName(header string) Option

Jump to

Keyboard shortcuts

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