middleware

command
v12.2.8 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package main shows how you can add middleware to an mvc Application, simply by using its `Router` which is a sub router(an iris.Party) of the main iris app.

Directories

Path Synopsis
If you want to use it as middleware for the entire controller you can use its router which is just a sub router to add it as you normally do with standard API:
If you want to use it as middleware for the entire controller you can use its router which is just a sub router to add it as you normally do with standard API:
Package main shows how to add done handlers in an MVC application without the necessity of `ctx.Next()` inside the controller's methods.
Package main shows how to add done handlers in an MVC application without the necessity of `ctx.Next()` inside the controller's methods.

Jump to

Keyboard shortcuts

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