Files
gluetun/internal/params/privado.go

12 lines
347 B
Go
Raw Normal View History

2020-11-08 20:56:49 -05:00
package params
import (
"github.com/qdm12/gluetun/internal/constants"
)
// GetPrivadoHostnames obtains the hostnames for the Privado server from the
// environment variable HOSTNAME.
func (r *reader) GetPrivadoHostnames() (hosts []string, err error) {
return r.envParams.GetCSVInPossibilities("HOSTNAME", constants.PrivadoHostnameChoices())
2020-11-08 20:56:49 -05:00
}