debug

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

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