csrf

package
v1.3.33 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CsrfToken

func CsrfToken(props CsrfTokenProps) htmx.Node

CsrfToken is the struct that holds the CSRF properties

Types

type CsrfTokenProps

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

CsrfTokenProps 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