github.com/wtfutil/wtf@v0.43.0/wtf/schedulable.go (about) 1 package wtf 2 3 import "time" 4 5 // Schedulable is the interface that enforces scheduling capabilities on a module 6 type Schedulable interface { 7 Refresh() 8 Refreshing() bool 9 RefreshInterval() time.Duration 10 }