Refactor and servercard ajustments
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
ycc
2023-11-27 00:31:43 +01:00
parent 432f449558
commit 420b7d0af0
5 changed files with 135 additions and 125 deletions

View File

@ -8,8 +8,8 @@ import "errors"
// - Owned servers lists
// - Matriochka paths
type ServerList struct {
Name string
Servers []Server
Name string `json:"name,omitempty"`
Servers []Server `json:"servers,omitempty"`
}
// FilterByIdxs returns a filtered server list filtered according to an index list