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