flags

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flags

type Flags struct {

	// ShowConfigToken determines if the configuration token value should be displayed when accessing the configuration endpoint.
	ShowConfigToken bool `json:"show_config_token" mapstructure:"show_config_token"`

	// AllowRuntimeFlagsChange determines whether runtime flags can be dynamically modified during execution.
	AllowRuntimeFlagsChange bool `json:"allow_runtime_flags_change" mapstructure:"allow_runtime_flags_change"`
}

Flags represent a set of configurable options affecting runtime behavior and configuration visibility.

func (*Flags) FlagSet

func (f *Flags) FlagSet(fs *flag.FlagSet) *flag.FlagSet

FlagSet configures the provided FlagSet with flags managed by the Flags struct and returns the updated FlagSet.

Jump to

Keyboard shortcuts

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