Sergiusz Bazanski | 1fad2e5 | 2019-08-01 20:16:27 +0200 | [diff] [blame] | 1 | package main |
2 | |||||
3 | import ( | ||||
4 | "context" | ||||
5 | "time" | ||||
6 | |||||
7 | "code.hackerspace.pl/hscloud/bgpwtf/cccampix/verifier/model" | ||||
8 | ) | ||||
9 | |||||
10 | type processor interface { | ||||
11 | Name() string | ||||
Serge Bazanski | ec71cb5 | 2019-08-22 18:13:13 +0200 | [diff] [blame] | 12 | NextRun(lastRun time.Time, lastFailed bool) time.Time |
Sergiusz Bazanski | 1fad2e5 | 2019-08-01 20:16:27 +0200 | [diff] [blame] | 13 | |
14 | RunAll(ctx context.Context, m model.Model) error | ||||
15 | } |