- Log warnings when running outside of CLI mode - Remove updater CLI bool setting - Warnings are logged in updating functions
16 lines
169 B
Go
16 lines
169 B
Go
package mullvad
|
|
|
|
import (
|
|
"net/http"
|
|
)
|
|
|
|
type Updater struct {
|
|
client *http.Client
|
|
}
|
|
|
|
func New(client *http.Client) *Updater {
|
|
return &Updater{
|
|
client: client,
|
|
}
|
|
}
|