0
0
Fork 0
mirror of https://github.com/crazy-max/diun.git synced 2025-01-12 11:38:11 +00:00
crazy-max_diun/internal/provider/provider.go
2020-06-07 22:04:31 +02:00

16 lines
257 B
Go

package provider
import (
"github.com/crazy-max/diun/v4/internal/model"
)
// Handler is a provider interface
type Handler interface {
ListJob() []model.Job
Close() error
}
// Client represents an active provider object
type Client struct {
Handler
}