csrf

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct {
	Router  *router.Module
	Session *session.Module
	CSRF    *csrf2.Module
	Logger  *logger.Module
}

func (*Module) Init

func (m *Module) Init(c *service.Config)

func (*Module) New

func (m *Module) New(ignorePaths ...string) func(rw http.ResponseWriter, req *http.Request, next http.HandlerFunc)

Jump to

Keyboard shortcuts

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