Add cron tasks to distillery

This commit is contained in:
Tom Wiesing 2022-12-07 10:30:48 +01:00
parent 790460f9de
commit f52fe6abf3
No known key found for this signature in database
19 changed files with 353 additions and 141 deletions

View file

@ -2,7 +2,6 @@ package component
import (
"context"
"io"
"net/http"
)
@ -14,5 +13,5 @@ type Servable interface {
Routes() []string
// Handler returns the handler for the requested route
Handler(ctx context.Context, route string, progress io.Writer) (http.Handler, error)
Handler(ctx context.Context, route string) (http.Handler, error)
}