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
Click to show internal directories.
Click to hide internal directories.