added fetch server function

This commit is contained in:
5elenay
2021-08-23 08:29:11 +03:00
parent b9c3edb138
commit 4147d56df4
2 changed files with 25 additions and 0 deletions

View File

@@ -1,7 +1,12 @@
package revoltgo
import "time"
// Server struct.
type Server struct {
Client *Client
CreatedAt time.Time
Id string `json:"_id"`
Nonce string `json:"nonce"`
OwnerId string `json:"owner"`