recovery

package
v1.1.7 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Recovery

type Recovery struct{}

Recovery dummy type

func New

func New(cfg *config.Config) *Recovery

New return recovery

func (*Recovery) Name

func (r *Recovery) Name() string

Name return middleware name

func (*Recovery) ServeDNS

func (r *Recovery) ServeDNS(ctx context.Context, ch *middleware.Chain)

ServeDNS implements the Handle interface.

Jump to

Keyboard shortcuts

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