csrf

package
v0.0.126 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Package__hfr5jb = &core.Package{
		PackageName: "namespacelabs.dev/foundation/std/go/http/csrf",
	}

	Initializers__hfr5jb = []*core.Initializer{
		{
			Package: Package__hfr5jb,
			Do:      func(ctx context.Context, di core.Dependencies) error { return Prepare(ctx) },
		},
	}
)

Functions

func Prepare

func Prepare(ctx context.Context) error

func Protect

func Protect(h http.HandlerFunc) http.Handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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