Help us shape the future of Go! Take the 2026 Go Developer Survey

debug

package
v1.6.30 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DebugAPI

type DebugAPI struct {
	// contains filtered or unexported fields
}

DebugAPI object contains informations related to the endpoints

func InitializeDebug

func InitializeDebug(configuration configurationtypes.AbstractConfigurationInterface) *DebugAPI

InitializeDebug initialize the debug endpoints

func (*DebugAPI) GetBasePath

func (p *DebugAPI) GetBasePath() string

GetBasePath will return the basepath for this resource

func (*DebugAPI) HandleRequest

func (p *DebugAPI) HandleRequest(w http.ResponseWriter, r *http.Request)

HandleRequest will handle the request

func (*DebugAPI) IsEnabled

func (p *DebugAPI) IsEnabled() bool

IsEnabled will return enabled status

type DefaultHandler

type DefaultHandler struct{}

func (*DefaultHandler) ServeHTTP

func (d *DefaultHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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