middleware

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Logging

func Logging() func(request *yarf.Msg, response *yarf.Msg, next yarf.NextMiddleware) error

Logging is a middleware for logging requests on the server side.

func OpenTracing

func OpenTracing(prefix string) func(request *yarf.Msg, response *yarf.Msg, next yarf.NextMiddleware) error

OpenTracing is a middleware for doing open tracing

func Recover

func Recover(request *yarf.Msg, response *yarf.Msg, next yarf.NextMiddleware) (err error)

Recover recovers from panic and converts it to an error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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