package
0.0.0-20220628045418-2e6a22a86d64
Repository: https://github.com/ugwis/golang-net.git
Documentation: pkg.go.dev

# Functions

Generate returns a URL-safe secure XSRF token that expires in 24 hours.
Valid reports whether a token is a valid, unexpired token returned by Generate.
ValidFor reports whether a token is a valid, unexpired token returned by Generate.

# Constants

Timeout is the duration for which XSRF tokens are valid.