metrics

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

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

Metrics type

func New

func New(cfg *config.Config) *Metrics

New return new metrics

func (*Metrics) Name

func (m *Metrics) Name() string

Name return middleware name

func (*Metrics) ServeDNS

func (m *Metrics) 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