routes

package
v1.56.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Profiling

type Profiling struct{}

Profiling adds handlers for pprof under /debug/pprof. This is similar to routes.Profiling from the API server library (uses the same paths). But instead of adding handlers to a mux.PathRecorderMux, it allows adding it to a server.Builder or manager.Manager.

func (Profiling) AddToBuilder

func (Profiling) AddToBuilder(builder *server.Builder)

AddToBuilder adds the profiling handlers to the given Builder.

func (Profiling) AddToManager

func (Profiling) AddToManager(mgr manager.Manager) error

AddToManager adds the profiling handlers to the given Manager.

Jump to

Keyboard shortcuts

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