Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pulse ¶
type Pulse struct { ID string `json:"id,omitempty"` MTS int64 `json:"mts,omitempty"` UserID string `json:"userId,omitempty"` Title string `json:"title,omitempty"` Content string `json:"content,omitempty"` IsPin int `json:"isPin"` IsPublic int `json:"isPublic"` Tags []string `json:"tags,omitempty"` Attachments []string `json:"attachments,omitempty"` Likes int `json:"likes,omitempty"` PulseProfile *pulseprofile.PulseProfile `json:"pulseProfile,omitempty"` }
Pulse message data structure
func NewFromRaw ¶
NewFromRaw returns slice of Pulse message pointers
func NewSingleFromRaw ¶
NewSingleFromRaw returns pointer to Pulse message
Click to show internal directories.
Click to hide internal directories.