Expiration is actually a unix timestamp (#1290)
* Expiration is actually a unix timestamp * int -> int64
This commit is contained in:
parent
49ffc60afb
commit
3f0c28a815
@ -47,12 +47,12 @@ type apiResponse struct {
|
|||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
Type string `json:"type"`
|
Type string `json:"type"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Expiration string `json:"expiration"`
|
Expiration int64 `json:"expiration"`
|
||||||
Content string `json:"content"`
|
Content string `json:"content"`
|
||||||
Proxiable bool `json:"proxiable"`
|
Proxiable bool `json:"proxiable"`
|
||||||
Proxied bool `json:"proxied"`
|
Proxied bool `json:"proxied"`
|
||||||
TTL int `json:"ttl"`
|
TTL int64 `json:"ttl"`
|
||||||
Priority int `json:"priority"`
|
Priority int64 `json:"priority"`
|
||||||
Locked bool `json:"locked"`
|
Locked bool `json:"locked"`
|
||||||
ZoneID string `json:"zone_id"`
|
ZoneID string `json:"zone_id"`
|
||||||
ZoneName string `json:"zone_name"`
|
ZoneName string `json:"zone_name"`
|
||||||
|
Loading…
Reference in New Issue
Block a user