status

package
v2.0.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client(opts ...Option) middleware.Middleware

Client is an error middleware.

func Server

func Server(opts ...Option) middleware.Middleware

Server is an error middleware.

Types

type HandlerFunc

type HandlerFunc func(error) error

HandlerFunc is middleware error handler.

type Option

type Option func(*options)

Option is recovery option.

func WithHandler

func WithHandler(h HandlerFunc) Option

WithHandler with status handler.

Jump to

Keyboard shortcuts

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