Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListRequest ¶
type ListRequest struct {
Type string
Source string
CreatedAfter *time.Time
CreatedBefore *time.Time
Limit uint64
Offset uint64
}
func ListRequestFromValues ¶
func ListRequestFromValues(values url.Values) (*ListRequest, error)
type Service ¶
type Service interface {
ListIngested(*ListRequest) ([]models.IngestedEvent, error)
ListTriggerEvents(uuid.UUID, *ListRequest) ([]TriggerEvent, error)
}
type TriggerEvent ¶
type TriggerEvent struct {
MatchID uuid.UUID `json:"match_id"`
EventID uuid.UUID `json:"event_id"`
TriggerID uuid.UUID `json:"trigger_id"`
Type string `json:"type"`
Source string `json:"source,omitempty"`
Data datatypes.JSON `json:"data,omitempty"`
CreatedAt time.Time `json:"created_at"`
MatchedAt time.Time `json:"matched_at"`
RunsStarted []uuid.UUID `json:"runs_started,omitempty"`
Skipped bool `json:"skipped"`
SkipReason string `json:"skip_reason,omitempty"`
Error string `json:"error,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.