Documentation ¶
Overview ¶
Package xsrftoken provides methods for generating and validating secure XSRF tokens.
Index ¶
Constants ¶
View Source
const Timeout = 24 * time.Hour
The duration that XSRF tokens are valid. It is exported so clients may set cookie timeouts that match generated tokens.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.