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:
@@ -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}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user