Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct {
ID string `json:"id"`
Title string `json:"title"`
Content string `json:"content"`
Long string `json:"long"`
Priority enum.Priority `json:"priority"`
CreatedAt time.Time `json:"created_at"`
}
func FromModelMessage ¶
func FromPushMessage ¶
func FromPushMessage(msg item.PushMessage) Message
func (*Message) MarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.