defaults

package
v0.0.0-...-771d451 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Middleware is a helper to import the default middleware for pubsub

Functions

func MiddlewareWithRecovery

func MiddlewareWithRecovery(fn recover.RecoveryHandlerFunc) []pubsub.Middleware

MiddlewareWithRecovery returns the default middleware but allows you to inject a function for dealing with panics

Types

This section is empty.

Jump to

Keyboard shortcuts

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