middlewares

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Intercepter

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