Documentation
¶
Index ¶
- type Condition
- func And(conditions ...Condition) Condition
- func CategoryContains(substr string) Condition
- func DayOfWeekIn(days ...time.Weekday) Condition
- func HourOfDayAfter(min int) Condition
- func HourOfDayBefore(max int) Condition
- func HourOfDayBetween(min, max int) Condition
- func HourOfDayIn(hours ...int) Condition
- func IsCategory(category string) Condition
- func IsModel(model models.Model) Condition
- func IsSeverity(severity models.Severity) Condition
- func IsSeverityAtLeast(severity models.Severity) Condition
- func IsSeverityAtMost(severity models.Severity) Condition
- func IsSeverityBetween(min models.Severity, max models.Severity) Condition
- func IsSeverityIn(severities ...models.Severity) Condition
- func MessageContains(substr string) Condition
- func ModelContains(substr string) Condition
- func Not(condition Condition) Condition
- func Or(conditions ...Condition) Condition
- func TimeAfter(min time.Time) Condition
- func TimeBefore(max time.Time) Condition
- func TimeBetween(min, max time.Time) Condition
- type Filter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Condition ¶
func CategoryContains ¶
func DayOfWeekIn ¶
func HourOfDayAfter ¶
func HourOfDayBefore ¶
func HourOfDayBetween ¶
func HourOfDayIn ¶
func IsCategory ¶
func IsSeverity ¶
func IsSeverityAtLeast ¶
func IsSeverityAtMost ¶
func IsSeverityIn ¶
func MessageContains ¶
func ModelContains ¶
func TimeBefore ¶
func TimeBetween ¶
Click to show internal directories.
Click to hide internal directories.