Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConvertedTime ¶
type ConvertedTime struct { LocalTime string `json:"localTime"` UtcOffsetWithDst string `json:"utcOffsetWithDst"` TimeZoneDisplayName string `json:"timeZoneDisplayName"` TimeZoneDisplayAbbr string `json:"timeZoneDisplayAbbr"` }
func (*ConvertedTime) ParsedTime ¶
func (c *ConvertedTime) ParsedTime() (time.Time, error)
func (*ConvertedTime) UtcOffsetWithDstFormatted ¶
func (c *ConvertedTime) UtcOffsetWithDstFormatted() string
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func New ¶
func New(credentialService model.CredentialService) *Plugin
type Response ¶
type Response struct { ResourceSets []struct { EstimatedTotal int `json:"estimatedTotal"` Resources []struct { TimeZoneAtLocation []struct { PlaceName string `json:"placeName"` TimeZone []struct { Abbreviation string `json:"abbreviation"` IanaTimeZoneId string `json:"ianaTimeZoneId"` ConvertedTime ConvertedTime `json:"convertedTime"` } `json:"timeZone"` } `json:"timeZoneAtLocation"` } `json:"resources"` } `json:"resourceSets"` StatusCode int `json:"statusCode"` StatusDescription string `json:"statusDescription"` }
Click to show internal directories.
Click to hide internal directories.