mirror of
https://github.com/mxpv/podsync.git
synced 2024-05-11 05:55:04 +00:00
19 lines
337 B
Go
19 lines
337 B
Go
package feed
|
|
|
|
import (
|
|
"context"
|
|
"errors"
|
|
|
|
"github.com/mxpv/podsync/pkg/config"
|
|
"github.com/mxpv/podsync/pkg/model"
|
|
)
|
|
|
|
var (
|
|
ErrNotFound = errors.New("resource not found")
|
|
ErrQuotaExceeded = errors.New("query limit is exceeded")
|
|
)
|
|
|
|
type Builder interface {
|
|
Build(ctx context.Context, cfg *config.Feed) (*model.Feed, error)
|
|
}
|