Documentation ¶ Overview ¶ Package common provides shared types and utilities used across the SRouter framework. Index ¶ type Middleware Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Middleware ¶ type Middleware func(http.Handler) http.Handler Middleware is a function that wraps an http.Handler. It allows for pre-processing and post-processing of HTTP requests. Middleware can be chained together to create a pipeline of request processing. Source Files ¶ View all Source files types.go Click to show internal directories. Click to hide internal directories.