flagz

package
v0.34.5 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultFlagzPath = "/flagz"
)

Variables

This section is empty.

Functions

func Install

func Install(m mux, componentName string, flagReader Reader)

Types

type NamedFlagSetsReader

type NamedFlagSetsReader struct {
	FlagSets cliflag.NamedFlagSets
}

NamedFlagSetsReader implements Reader for cliflag.NamedFlagSets

func (NamedFlagSetsReader) GetFlagz

func (n NamedFlagSetsReader) GetFlagz() map[string]string

type Reader

type Reader interface {
	GetFlagz() map[string]string
}

Jump to

Keyboard shortcuts

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