debug

package
v0.4.31 Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServePProf

func ServePProf(ctx context.Context, cfg Config, log *zap.Logger) error

ServePProf starts pprof HTTP server on the specified port, blocking until the context is done.

Types

type Config

type Config struct {
	Port uint16 `yaml:"port" default:"6060"`
}

Jump to

Keyboard shortcuts

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