Versions in this module Expand all Collapse all v1 v1.1.3 Sep 29, 2024 Changes in this version + func NewService(triggers map[string][]Condition) (*service, error) + type Condition struct + Description string + OncePer string + Send []string + When string + type ConditionResult struct + Key string + OncePer string + Templates []string + Triggered bool + type Service interface + Run func(triggerName string, vars map[string]interface{}) ([]ConditionResult, error)