Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageRequest ¶
type MessageRequest struct { RegID string `json:"register_id" form:"register_id" validate:"required"` Platform int32 `json:"platform" form:"platform" validate:"required"` SDK int32 `json:"sdk" form:"sdk" validate:"required"` Title string `json:"title" form:"title" validate:"required"` Content string `json:"content" form:"content" validate:"required"` ContentType string `json:"content_type" form:"content_type" validate:"required"` Schema string `json:"schema" form:"schema" validate:"required"` Callback string `json:"callback" form:"callback" validate:"required"` }
MessageRequest .
type NoticeRequest ¶
type NoticeRequest struct { RegID string `json:"register_id" form:"register_id" validate:"required"` Platform int32 `json:"platform" form:"platform" validate:"required"` SDK int32 `json:"sdk" form:"sdk" validate:"required"` Title string `json:"title" form:"title" validate:"required"` Content string `json:"content" form:"content" validate:"required"` Schema string `json:"schema" form:"schema" validate:"required"` Callback string `json:"callback" form:"callback" validate:"required"` }
NoticeRequest .
Click to show internal directories.
Click to hide internal directories.