Documentation ¶
Index ¶
Constants ¶
View Source
const ( PUSH_NOTE_TYPE = "note" PUSH_LINK_TYPE = "link" PUSH_FILE_TYPE = "file" )
View Source
const (
PUSH_BULLET_SETTING_FILE = "~/.pushmoi/pushbullet.setting.json"
)
Variables ¶
View Source
var (
Pushsettings = new(Settings)
)
Functions ¶
func NewGetCommand ¶
func NewListDevices ¶
func NewSetCommand ¶
func NewSyncCommand ¶
Types ¶
type Push ¶
type Push struct { // Targeting for push Iden string `json:"device_iden,omitempty"` Email string `json:"email,omitempty"` ChannelTag string `json:"channel_tag,omitempty"` ClientIden string `json:"client_iden,omitempty"` // Payload for the push Kind string `json:"type"` Title string `json:"title,omitempty"` Body string `json:"body,omitempty"` Url string `json:"url,omitempty"` FileName string `json:"file_name,omitempty"` FileType string `json:"file_type,omitempty"` FileUrl string `json:"file_url,omitempty"` // Push initiator identity SrcIden string `json:"source_device_iden,omitempty"` // Unique identifier Guid string `json:"guid,omitempty"` }
Click to show internal directories.
Click to hide internal directories.