debug

package
v1.122.2 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: Unlicense Imports: 13 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Options(
	fx.Invoke(Register),
)

Module for fx.

Functions

func Register

func Register(params RegisterParams)

Register debug.

Types

type Config added in v1.112.0

type Config struct {
	Port string `yaml:"port" json:"port" toml:"port"`
}

Config for debug.

type RegisterParams added in v1.112.0

type RegisterParams struct {
	fx.In

	Lifecycle fx.Lifecycle
	Config    *Config
	Env       env.Environment
	Logger    *zap.Logger
}

RegisterParams for debug.

Jump to

Keyboard shortcuts

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