csrf

package
v0.5.9 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Token

func Token(props Props) htmx.Node

Token is the struct that holds the CSRF properties.

Types

type Props

type Props struct {
	// Token is the CSRF token
	Token string
	// Name is the name of the CSRF token
	Name string
}

Props is the struct that holds the CSRF properties.

Jump to

Keyboard shortcuts

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