MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / AlertCondition

Struct AlertCondition

model/balance.go:91–97  ·  view source on GitHub ↗

AlertCondition specifies the field, operator, value, and precision for a balance monitor alert threshold.

Source from the content-addressed store, hash-verified

89}
90
91// AlertCondition specifies the field, operator, value, and precision for a balance monitor alert threshold.
92type AlertCondition struct {
93 Value float64 `json:"value"`
94 Precision float64 `json:"precision"`
95 PreciseValue *big.Int `json:"precise_value"`
96 Field string `json:"field"`
97 Operator string `json:"operator"`
98}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected