recovery

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2020 License: MIT Imports: 9 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(dc *ctx.Context)

ServeDNS implements the Handle interface.

Jump to

Keyboard shortcuts

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