debug

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package debug contains debuging helpers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterEndpoint

func RegisterEndpoint(register func(string, http.Handler) error, options *Options) error

RegisterEndpoint used to register the different debug endpoints.

Types

type Options

type Options struct {
	CmdLine bool
	Profile bool
	Symbol  bool
	Trace   bool
}

Options used to provide configuration options.

func DefaultOptions

func DefaultOptions() *Options

DefaultOptions returns default options configuration.

Jump to

Keyboard shortcuts

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