rkgincsrf

package
v1.2.15 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package rkgincsrf is a middleware of gin framework for adding csrf in RPC response

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Interceptor

func Interceptor(opts ...rkmidcsrf.Option) gin.HandlerFunc

Interceptor Add csrf interceptors.

Mainly copied from bellow. https://github.com/labstack/echo/blob/master/middleware/csrf.go

Types

This section is empty.

Jump to

Keyboard shortcuts

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