mirror of
https://github.com/ditatompel/xmr-remote-nodes.git
synced 2025-01-08 05:52:10 +07:00
Changed LastChecked
from uint
to int64
Since the LastChecked record is storing unix timestamp, using `int64` make it easier to work with `time` package.
This commit is contained in:
parent
30aa8d80dc
commit
ec6f0a1893
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ type Node struct {
|
||||||
Latitude float64 `json:"latitude" db:"lat"`
|
Latitude float64 `json:"latitude" db:"lat"`
|
||||||
Longitude float64 `json:"longitude" db:"lon"`
|
Longitude float64 `json:"longitude" db:"lon"`
|
||||||
DateEntered uint `json:"date_entered,omitempty" db:"date_entered"`
|
DateEntered uint `json:"date_entered,omitempty" db:"date_entered"`
|
||||||
LastChecked uint `json:"last_checked" db:"last_checked"`
|
LastChecked int64 `json:"last_checked" db:"last_checked"`
|
||||||
FailedCount uint `json:"failed_count,omitempty" db:"failed_count"`
|
FailedCount uint `json:"failed_count,omitempty" db:"failed_count"`
|
||||||
LastCheckStatus types.JSONText `json:"last_check_statuses" db:"last_check_status"`
|
LastCheckStatus types.JSONText `json:"last_check_statuses" db:"last_check_status"`
|
||||||
CORSCapable bool `json:"cors" db:"cors_capable"`
|
CORSCapable bool `json:"cors" db:"cors_capable"`
|
||||||
|
|
Loading…
Reference in a new issue