templatefunctions

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CsrfInputFunc

type CsrfInputFunc struct {
	// contains filtered or unexported fields
}

CsrfInputFunc delivers template function to render whole csrf form input.

func (*CsrfInputFunc) Func

func (f *CsrfInputFunc) Func(ctx context.Context) interface{}

Func delivers template function.

func (*CsrfInputFunc) Inject

Inject dependencies

type CsrfTokenFunc

type CsrfTokenFunc struct {
	// contains filtered or unexported fields
}

CsrfTokenFunc delivers template function to render only csrf token value.

func (*CsrfTokenFunc) Func

func (f *CsrfTokenFunc) Func(ctx context.Context) interface{}

Func delivers template function.

func (*CsrfTokenFunc) Inject

Inject dependencies

Jump to

Keyboard shortcuts

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