chore(updater): move updater packages to pkg/updaters/<name>

This commit is contained in:
Quentin McGaw
2026-04-23 03:47:57 +00:00
parent 5b01324d5f
commit 13503b0ae0
268 changed files with 1602 additions and 1026 deletions
@@ -0,0 +1,27 @@
package windscribe
import (
"net/http"
"github.com/qdm12/gluetun/pkg/updaters/common"
)
type Updater struct {
client *http.Client
warner common.Warner
}
func New(client *http.Client, warner common.Warner) *Updater {
return &Updater{
client: client,
warner: warner,
}
}
func (u *Updater) Version() uint16 {
return 2 //nolint:mnd
}
func (u *Updater) Name() string {
return "windscribe"
}