debug

package
v2.82.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Module for fx.

Functions

func IsEnabled

func IsEnabled(cfg *Config) bool

IsEnabled for debug.

Types

type Config

type Config struct {
	*server.Config `yaml:",inline" json:",inline" toml:",inline"`
}

Config for debug.

type Server

type Server struct {
	*server.Service
}

Server for debug.

func NewServer

func NewServer(params ServerParams) (*Server, error)

NewServer for debug.

func (*Server) GetService added in v2.26.0

func (s *Server) GetService() *server.Service

GetService returns the service, if defined.

type ServerParams

type ServerParams struct {
	di.In

	Shutdowner di.Shutdowner
	Mux        *debug.ServeMux
	Config     *Config
	Logger     *logger.Logger
	FS         *os.FS
}

ServerParams for debug.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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