csrf

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2021 License: MIT Imports: 1 Imported by: 0

README

go-csrf

Golang helper library for generating and verifying anti-CSRF tokens

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateToken

func GenerateToken() string

func IsTokenValid

func IsTokenValid(token string) bool

func Setup

func Setup(randomSecret []byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL