middleware/

directory
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2025 License: MIT

README

Middleware Examples

Overview

This directory contains examples demonstrating how to use the middleware components of the ServiceLib library. Each example is a complete, runnable application that showcases specific features and usage patterns.

Examples

Running the Examples

Each example can be run from its directory using:

go run main.go

License

This project is licensed under the MIT License - see the LICENSE file for details.

Directories

Path Synopsis
Example of basic usage of the middleware package
Example of basic usage of the middleware package
Example of using the CORS middleware
Example of using the CORS middleware
Example of using the error handling middleware
Example of using the error handling middleware
Example of using the logging middleware
Example of using the logging middleware
Example of using the recovery middleware
Example of using the recovery middleware
Example of using the timeout middleware
Example of using the timeout middleware

Jump to

Keyboard shortcuts

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