Documentation ¶
Index ¶
Constants ¶
View Source
const ( ResourceType = "x.plgd.dev.time" ResourceURI = "/x.plgd.dev/time" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PlgdTime ¶
type PlgdTime struct { Interfaces []string `json:"if,omitempty"` ResourceTypes []string `json:"rt,omitempty"` Time string `json:"time"` // time in RFC3339Nano format LastSyncedTime string `json:"lastSyncedTime,omitempty"` // time in RFC3339Nano format Status Status `json:"status,omitempty"` // status of the time synchronization }
type PlgdTimeUpdate ¶
type PlgdTimeUpdate struct {
Time string `json:"time"` // time in RFC3339Nano format
}
Click to show internal directories.
Click to hide internal directories.