Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetConnectionTokenWithCountData ¶
type GetConnectionTokenWithCountData struct { /** * 建立长连接的token */ TokenInfos []TokenInfos `json:"token_infos"` Appkey int64 `json:"appkey"` /** * 消息加解密密钥 */ ImSecret string `json:"imSecret"` }
type GetConnectionTokenWithCountRequest ¶
type GetConnectionTokenWithCountRequest struct { /** * token数量,推荐3,最多为5 */ RequiredTokenCount int32 `json:"required_token_count"` }
func (*GetConnectionTokenWithCountRequest) DoInvoke ¶
func (req *GetConnectionTokenWithCountRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*GetConnectionTokenWithCountResponse, error)
type GetConnectionTokenWithCountResponse ¶
type GetConnectionTokenWithCountResponse struct { Code string `json:"code"` Msg string `json:"msg"` Data GetConnectionTokenWithCountData `json:"data"` TraceId string `json:"traceId"` }
func (*GetConnectionTokenWithCountResponse) IsSuccess ¶
func (response *GetConnectionTokenWithCountResponse) IsSuccess() bool
type TokenInfos ¶
Click to show internal directories.
Click to hide internal directories.