Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlagDescriptor ¶
type FlagDescriptor struct {
ID string // Flag ID (e.g., "notifications/1").
FieldName string // Proto field name (e.g., "email_enabled").
Type FlagType // Underlying scalar type.
IsList bool // True for repeated (list-valued) flags.
// Compiled default value. Only the field matching Type (and IsList) is populated.
DefaultBool bool
DefaultString string
DefaultInt64 int64
DefaultDouble float64
DefaultBools []bool
DefaultStrings []string
DefaultInt64s []int64
DefaultDoubles []float64
}
FlagDescriptor provides structured metadata about a single flag.
Click to show internal directories.
Click to hide internal directories.