fasthttp: github.com/valyala/fasthttp/expvarhandler Index | Files

package expvarhandler

import "github.com/valyala/fasthttp/expvarhandler"

Package expvarhandler provides fasthttp-compatible request handler serving expvars.

Index

Package Files

expvar.go

func ExpvarHandler Uses

func ExpvarHandler(ctx *fasthttp.RequestCtx)

ExpvarHandler dumps json representation of expvars to http response.

Expvars may be filtered by regexp provided via 'r' query argument.

See https://golang.org/pkg/expvar/ for details.

Package expvarhandler imports 4 packages (graph) and is imported by 15 packages. Updated 2019-09-26. Refresh now. Tools for package owners.