This repository has been archived on 2023-06-16. You can view files and clone it, but cannot push or open issues or pull requests.
2021-06-24 22:30:46 +00:00
|
|
|
package groups
|
|
|
|
|
|
|
|
type ServerKey struct {
|
|
|
|
Type string `json:"type"`
|
|
|
|
Key string `json:"key"`
|
|
|
|
}
|
|
|
|
|
2022-03-04 00:34:39 +00:00
|
|
|
type SyncStatus struct {
|
|
|
|
StartTime string `json:"startTime"`
|
|
|
|
LastMessageTime string `json:"lastMessageTime"`
|
|
|
|
}
|
|
|
|
|
2021-06-24 22:30:46 +00:00
|
|
|
type Server struct {
|
2022-03-04 00:34:39 +00:00
|
|
|
Onion string `json:"onion"`
|
|
|
|
Identifier int `json:"identifier"`
|
|
|
|
Status string `json:"status"`
|
|
|
|
Description string `json:"description"`
|
|
|
|
Keys []ServerKey `json:"keys"`
|
|
|
|
SyncProgress SyncStatus `json:"syncProgress"`
|
2021-06-24 22:30:46 +00:00
|
|
|
}
|