middleware

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: MIT Imports: 26 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Middlewares the code of the extensions of a profile registers, standing in the path of every request its sessions send the model and of every tool call they run: in the order each asks for, each reads what goes out and may change it, refuse it or answer it in its place, and reads what comes back and may change it. Made of the transport host's exchangers for every wire and of the tools host's wrappers. A middleware whose code stopped is started again as it is asked; one that fails, runs out of time or whose code cannot start is passed over, or fails the request in words when it holds requests closed. It never sees a credential, never sets one and never changes where a request goes

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(transports *transport.Registry, toolset *tools.Registry, kinds *extensions.Registry, checks *doctor.Registry,
	reports *status.Registry, metrics *monitoring.Registry)

Types

This section is empty.

Jump to

Keyboard shortcuts

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