Minor changes

- PORT is for Mullvad but also Windscribe (docker-compose, README.md)
- Windscribe configurator does not need lookupIP anymore
This commit is contained in:
Quentin McGaw
2020-06-02 23:07:29 +00:00
parent 3ab1298b1f
commit 20a3327815
3 changed files with 7 additions and 5 deletions

View File

@@ -15,10 +15,9 @@ type Configurator interface {
type configurator struct {
fileManager files.FileManager
lookupIP func(host string) ([]net.IP, error)
}
// NewConfigurator returns a new Configurator object
func NewConfigurator(fileManager files.FileManager) Configurator {
return &configurator{fileManager, net.LookupIP}
return &configurator{fileManager: fileManager}
}