sdns: github.com/semihalev/sdns/middleware/recovery Index | Files

package recovery

import "github.com/semihalev/sdns/middleware/recovery"

Index

Package Files

recovery.go

type Recovery Uses

type Recovery struct{}

Recovery dummy type

func New Uses

func New(cfg *config.Config) *Recovery

New return recovery

func (*Recovery) Name Uses

func (r *Recovery) Name() string

Name return middleware name

func (*Recovery) ServeDNS Uses

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

ServeDNS implements the Handle interface.

Package recovery imports 8 packages (graph) and is imported by 1 packages. Updated 2020-09-13. Refresh now. Tools for package owners.