Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IntervalMiddleware ¶
type IntervalMiddleware struct { Interval time.Duration `usage:"interval between runs"` NumberOfRuns int `usage:"number of runs (-1 for infinite)"` }
func NewIntervalMiddleware ¶
func NewIntervalMiddleware() *IntervalMiddleware
func NewIntervalMiddlewareWithDefault ¶
func NewIntervalMiddlewareWithDefault(def time.Duration) *IntervalMiddleware
func (*IntervalMiddleware) Wrap ¶
func (me *IntervalMiddleware) Wrap(base snake.MiddlewareFunc) snake.MiddlewareFunc
Click to show internal directories.
Click to hide internal directories.