debugflags

package
v1.57.5 Latest Latest
Warning

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

Go to latest
Published: May 19, 2026 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package debugflags parses the ENCOREDEBUG environment variable, a comma-separated list of key=value pairs used to toggle non-default daemon behavior. Example: ENCOREDEBUG=sqldbrole=legacy,foo=bar.

Index

Constants

View Source
const SQLDBRoleLegacy = "legacy"

SQLDBRoleLegacy is the value of the "sqldbrole" flag that selects the pre-encore_services SQL role behavior.

Variables

This section is empty.

Functions

func Get

func Get(name string) string

Get returns the value of the named debug flag, or "" if it is not set.

Types

This section is empty.