debug

package
v0.0.0-...-2ba2e4a Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: MIT Imports: 4 Imported by: 0

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