Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultMaxCount = 100
DefaultMaxCount is the default maximum number of entries kept in the list.
View Source
const (
SetPrevious = "previous"
)
Set names for previous-event storage.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Request ¶
type Request struct {
Name string // variable name
Namespace string // FrogoDB namespace
Ref string // source key for the reference entity (e.g., "standard.user_id")
Retrieve string // source key for the value to retrieve
Exclude string // source key for exclude matching (optional)
FilterBy []string // additional grouping fields
EventID string // current event ID (for dedup)
MaxCount int // max entries in list (default 100)
TTL time.Duration // REQUIRED. Expiration for previous-event records.
IncludeCurrent bool
}
Request describes a previous-event query.
type Result ¶
type Result struct {
Value any // retrieved value from previous event
Found bool // whether a matching previous event was found
}
Result holds the outcome of a previous-event query.
Click to show internal directories.
Click to hide internal directories.