Categorygithub.com/siderolabs/go-debug
modulepackage
0.4.0
Repository: https://github.com/siderolabs/go-debug.git
Documentation: pkg.go.dev

# README

go-debug

Go Reference

go-debug is a Sidero-specific library for including debugging facilities for developers in our products when they are compiled with sidero.debug build tag. They are not included by default. Also provides utils for detecting if the code was compiled with race build tag.

# Functions

ListenAndServe runs debug server on given address.

# Constants

Enabled is false when compiled without sidero.debug build tag.
RaceEnabled is false when compiled without race build tag.

# Type aliases

LogFunc is a simplest logging function.