getconnectiontokenwithcount

package
v0.0.0-...-905ac7b Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

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

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

type TokenInfos struct {
	/**
	 * 建立长连接的token
	 */
	ConnectionToken string `json:"connectionToken"`
	/**
	 * X分钟内,IM两方会话消息发送失败的用户数
	 */
	UserSendFailCount int64 `json:"userSendFailCount"`
	/**
	 * X分钟内,评价联系消息发送失败的评价数
	 */
	CommentSendFailCount string `json:"commentSendFailCount"`
}

Jump to

Keyboard shortcuts

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