mirror of
https://github.com/crazy-max/diun.git
synced 2025-01-12 11:38:11 +00:00
16 lines
257 B
Go
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
|
|
}
|