mirror of
https://github.com/qdm12/gluetun.git
synced 2026-05-17 06:00:15 +02:00
20 lines
233 B
Go
20 lines
233 B
Go
package privateinternetaccess
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
type Updater struct {
|
|
client *http.Client
|
|
}
|
|
|
|
func New(client *http.Client) *Updater {
|
|
return &Updater{
|
|
client: client,
|
|
}
|
|
}
|
|
|
|
func (u *Updater) Version() uint16 {
|
|
return 1
|
|
}
|