12 lines
346 B
Go
12 lines
346 B
Go
package params
|
|
|
|
import (
|
|
"github.com/qdm12/gluetun/internal/constants"
|
|
)
|
|
|
|
// GetSurfsharkRegions obtains the regions for the Surfshark servers from the
|
|
// environment variable REGION.
|
|
func (r *reader) GetSurfsharkRegions() (regions []string, err error) {
|
|
return r.envParams.GetCSVInPossibilities("REGION", constants.SurfsharkRegionChoices())
|
|
}
|