Documentation ¶
Index ¶
Constants ¶
View Source
const ( BaseURL = "https://msgapi.umeng.com/api/" APIPush = "send" APIBroadcast = "send" )
View Source
const DefaultTimeout = 10 * time.Second
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type ResponseMessage ¶
type ResponseMessage struct { Ret string `json:"ret"` Data struct { MsgID string `json:"msg_id"` TaskID string `json:"task_id"` ErrMsg string `json:"error_msg"` ErrCode string `json:"error_code"` } `json:"data"` }
func (*ResponseMessage) Error ¶
func (rm *ResponseMessage) Error() error
func (*ResponseMessage) Unmarshal ¶
func (rm *ResponseMessage) Unmarshal(data []byte) error
Click to show internal directories.
Click to hide internal directories.