Documentation ¶
Index ¶
Constants ¶
View Source
const PushoverIconsURLFmt = "https://api.pushover.net/icons/%s.png"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PushoverMessage ¶
type PushoverMessage struct { ID int `json:"id"` IDstr string `json:"id_str"` UMID int `json:"umid"` UMIDstr string `json:"umid_str"` AID int `json:"aid"` AIDstr string `json:"aid_str"` App string `json:"app"` Title string `json:"title"` Message string `json:"message"` Icon string `json:"icon"` Date int `json:"date"` QueuedDate int `json:"queued_date"` DispatchedDate int `json:"dispatched_date"` Priority int `json:"priority"` Sound string `json:"sound"` URL string `json:"url"` URLTitle string `json:"url_title"` Acked int `json:"acked"` Receipt string `json:"receipt"` HTML int `json:"html"` }
type PushoverMessagesResponse ¶
type PushoverMessagesResponse struct { Status int `json:"status"` Request string `json:"request"` Messages []PushoverMessage `json:"messages"` }
type PushoverOptions ¶
type PushoverStreamReturn ¶
type PushoverStreamReturn int
const ( PushoverOk PushoverStreamReturn = iota PushoverError PushoverReconnectRequest PushoverReauthenticateRequest PushoverEndRequest )
Click to show internal directories.
Click to hide internal directories.