debug

package
v0.0.0-...-d015374 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NamedConfig = "debug.Config"
)

Variables

This section is empty.

Functions

func NewHTTPServer

func NewHTTPServer(config Config) (*http.Server, error)

Types

type Config

type Config struct {
	Enabled bool   `default:"true"`
	Addr    string `default:":6060"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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