Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Ignore is an option which can be set to ignore the csrfFilter Ignore router.ControllerOption = "csrf.ignore" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NonceGenerator ¶
type NonceGenerator interface {
GenerateNonce() string
}
NonceGenerator is an interface to generate a nonce
type UuidGenerator ¶
type UuidGenerator struct{}
func (*UuidGenerator) GenerateNonce ¶
func (*UuidGenerator) GenerateNonce() string
generateNonce generates a nonce
Click to show internal directories.
Click to hide internal directories.