This commit is contained in:
parent
535181d669
commit
1dda1b27a8
@ -24,8 +24,6 @@ type Identity struct {
|
|||||||
Device meowlib.KeyPair `json:"device,omitempty"`
|
Device meowlib.KeyPair `json:"device,omitempty"`
|
||||||
KnownServers ServerList `json:"known_servers,omitempty"`
|
KnownServers ServerList `json:"known_servers,omitempty"`
|
||||||
MessageServers ServerList `json:"message_servers,omitempty"`
|
MessageServers ServerList `json:"message_servers,omitempty"`
|
||||||
ArchiveServers ServerList `json:"archive_servers,omitempty"`
|
|
||||||
OwnedServers ServerList `json:"owned_servers,omitempty"`
|
|
||||||
DefaultDbPassword string `json:"default_db_password,omitempty"`
|
DefaultDbPassword string `json:"default_db_password,omitempty"`
|
||||||
DbPasswordStore bool `json:"db_password_store,omitempty"`
|
DbPasswordStore bool `json:"db_password_store,omitempty"`
|
||||||
OwnedDevices PeerList `json:"owned_devices,omitempty"`
|
OwnedDevices PeerList `json:"owned_devices,omitempty"`
|
||||||
|
@ -27,6 +27,7 @@ type Server struct {
|
|||||||
ManagerKp meowlib.KeyPair `json:"manager_kp,omitempty"`
|
ManagerKp meowlib.KeyPair `json:"manager_kp,omitempty"`
|
||||||
Country string `json:"country,omitempty"`
|
Country string `json:"country,omitempty"`
|
||||||
AllowedDelay int `json:"allowed_delay,omitempty"`
|
AllowedDelay int `json:"allowed_delay,omitempty"`
|
||||||
|
Backup bool `json:"backup,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// CreateServerFromUrl creates a server from a basic url, ex : https://my.meowserver.example:8443/meow/
|
// CreateServerFromUrl creates a server from a basic url, ex : https://my.meowserver.example:8443/meow/
|
||||||
|
Loading…
Reference in New Issue
Block a user