Documentation
¶
Overview ¶
Copyright (c) 2024 Eli Janssen Use of this source code is governed by an MIT-style license that can be found in the LICENSE file.
Inspired by * https://github.com/golang/go/issues/73626 * https://github.com/tailscale/tailscale/pull/15735
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
// AllowSecFetchSiteSameSite specifies whether to allow requests with the
// Sec-Fetch-Site header set to "same-site" indicating that they are
// cross-origin but that their origin shares the same site (gTLD+1) with
// that of the request.
AllowSecFetchSiteSameSite bool
}
Click to show internal directories.
Click to hide internal directories.