crossorigin

package
v1.0.0-dev.17 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package crossorigin is the one cross-origin check every tree serving a session cookie runs before an unsafe-method route.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Guard

func Guard(next, deny http.Handler) http.Handler

Guard serves next behind http.CrossOriginProtection, answering a refused request with deny.

Types

This section is empty.

Jump to

Keyboard shortcuts

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