middleware

package
v0.0.0-...-d8edd66 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendMiddleWares

func AppendMiddleWares(item MiddleWare)

func Init

func Init(app *iris.Application)

Init middleware

Types

type MiddleWare

type MiddleWare struct {
	Handler  context.Handler
	HttpOnly bool //只用于http不用于kafka
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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