Files
gluetun/internal/storage/servers.go
Quentin McGaw (desktop) 3863cc439e Maint: internal/storage rework
- No more global variables
- Inject merged servers to configuration package
- Fix #566: configuration parsing to use persisted servers.json
- Move server data files from `internal/constants` to `internal/storage`
2021-08-27 19:10:03 +00:00

8 lines
155 B
Go

package storage
import "github.com/qdm12/gluetun/internal/models"
func (s *Storage) GetServers() models.AllServers {
return s.mergedServers.GetCopy()
}