Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GetExpectedCSRFToken ¶
type GetSubmittedCSRFToken ¶
type Opts ¶
type Opts struct { GetExpectedCSRFToken GetExpectedCSRFToken GetSubmittedCSRFToken GetSubmittedCSRFToken GetIsExempt func(r *http.Request) bool // Exempts from CSRF token check (not host check) PermittedHosts []string // If len == 0, all hosts are permitted }
Click to show internal directories.
Click to hide internal directories.