debug

package
v0.0.0-...-fd6c280 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 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