mirror of
https://github.com/qdm12/gluetun.git
synced 2026-07-25 11:56:24 +02:00
chore(updater): move updater packages to pkg/updaters/<name>
This commit is contained in:
@@ -4,7 +4,7 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
|
||||
"github.com/qdm12/gluetun/internal/models"
|
||||
"github.com/qdm12/gluetun/pkg/updaters/models"
|
||||
)
|
||||
|
||||
type NoFetcher struct {
|
||||
@@ -22,3 +22,11 @@ func (n *NoFetcher) FetchServers(context.Context, int) (
|
||||
) {
|
||||
return nil, fmt.Errorf("fetching of servers is not supported for %s", n.providerName)
|
||||
}
|
||||
|
||||
func (n *NoFetcher) Version() uint16 {
|
||||
return 1
|
||||
}
|
||||
|
||||
func (n *NoFetcher) Name() string {
|
||||
return n.providerName
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user