v1

package
v0.0.0-...-83adff0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

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 MessageResponse

type MessageResponse struct{}

MessageResponse .

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 .

type NoticeResponse

type NoticeResponse struct{}

NoticeResponse .

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL