2024-09-18 07:09:25 +02:00
|
|
|
package service
|
2024-09-08 10:09:54 +02:00
|
|
|
|
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
"time"
|
|
|
|
)
|
|
|
|
|
|
|
|
var (
|
|
|
|
ErrNotFound = errors.New("not found")
|
|
|
|
)
|
|
|
|
|
|
|
|
type Syncer interface {
|
2024-09-09 07:36:05 +02:00
|
|
|
Update(item Item) error
|
2024-09-11 07:33:22 +02:00
|
|
|
Updated(kind []Kind, t time.Time) ([]Item, error)
|
2024-09-08 10:09:54 +02:00
|
|
|
}
|