debug

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigDebug

type ConfigDebug struct {
	Debug Data `yaml:"debug"`
}

type Data

type Data struct {
	Addr string `yaml:"addr"`
}

type Debug

type Debug struct {
	// contains filtered or unexported fields
}

func New

func New(cfg *ConfigDebug) *Debug

func (*Debug) Down

func (ds *Debug) Down() error

func (*Debug) Formatter

func (ds *Debug) Formatter() corehttp.FormatterFunc

func (*Debug) Handlers

func (ds *Debug) Handlers() []corehttp.Handler

func (*Debug) Middleware added in v1.8.0

func (ds *Debug) Middleware() corehttp.CallFunc

func (*Debug) Up

func (ds *Debug) Up() error

Jump to

Keyboard shortcuts

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