getconnectiontoken

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 GetConnectionTokenData

type GetConnectionTokenData struct {
	/**
	 * 建立长连接的token
	 */
	ConnectionToken string `json:"connectionToken"`
	/**
	 * 30分钟内,消息发送失败的用户数
	 */
	UserCount int64 `json:"userCount"`
	/**
	 * 长连接key,用于拼装websocket url
	 */
	ConnectionId string `json:"connectionId"`
	/**
	 * �im消息加解秘钥
	 */
	ImSecret string `json:"imSecret"`
}

type GetConnectionTokenRequest

type GetConnectionTokenRequest struct {
}

func (*GetConnectionTokenRequest) DoInvoke

type GetConnectionTokenResponse

type GetConnectionTokenResponse struct {
	Code    string                 `json:"code"`
	Msg     string                 `json:"msg"`
	Data    GetConnectionTokenData `json:"data"`
	TraceId string                 `json:"traceId"`
}

func (*GetConnectionTokenResponse) IsSuccess

func (response *GetConnectionTokenResponse) IsSuccess() bool

Jump to

Keyboard shortcuts

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