middlewares

package
v0.45.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: Apache-2.0 Imports: 3 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Intercepter added in v0.19.4

func Intercepter(ch chan extensions.BrokerMessage) extensions.Middleware

Intercepter is a middleware that intercepts messages in reception and in publication.

func Logging

func Logging(logger extensions.Logger) extensions.Middleware

Logging is a middleware that logs messages in reception and in publication.

func Recovery

func Recovery(logger extensions.Logger) extensions.Middleware

Recovery is a middleware that recovers from panic in middlewares coming after it and user code from subscription.

Types

This section is empty.

Jump to

Keyboard shortcuts

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