prof

package
v0.0.0-...-c2add7f Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package prof encapsulates pprof with attached HTTP server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Profiler

type Profiler struct {
	*httpserver.Server
}

func New

func New(address entity.NetAddress) *Profiler

New creates Profiler instance listening on specified address and port. If empty address string used, empty Profiler (without initialization) is created. Such profiler is no-op.

Jump to

Keyboard shortcuts

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