Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MetaHandler ¶
func MetaHandler(ctx context.Context, c *app.RequestContext, apiURL string)
func PushHandler ¶
func PushHandler(ctx context.Context, c *app.RequestContext, apiURL string)
func TokenHandler ¶
func TokenHandler(ctx context.Context, c *app.RequestContext, apiURL string)
Types ¶
type Msg ¶
type Msg struct { Title string `json:"title"` Body string `json:"body"` Group string `json:"group,omitempty"` GroupPrefix string `json:"groupPrefix,omitempty"` ClickType string `json:"clickType"` Intent string `json:"intent,omitempty"` Badge int64 `json:"badge,omitempty"` Sound bool `json:"sound,omitempty"` }
Click to show internal directories.
Click to hide internal directories.