Documentation ¶
Index ¶
Constants ¶
View Source
const ( // READYTIME 拨号最长持续时间 READYTIME = 60 BUSY = true FREE = false READY = 0 INPROGRESS = 1 FINISH = 2 MAXROOMID = 1000000000 // SESSIONMAXTIME session 在 redis 中过期的时间 SESSIONMAXTIME = 60 * 60 * 24 )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type CheckCallRequest ¶
type CheckCallResponse ¶
type CheckCallResponse struct { TraceId int64 `json:"traceId"` TraceIdStr string `json:"traceIdStr"` RTCType int32 `json:"RTCType"` Invitees []string `json:"invitees"` Caller string `json:"caller"` CreateTime int64 `json:"createTime"` Timeout int32 `json:"timeout"` Deadline int64 `json:"deadline"` GroupId string `json:"groupId"` }
type GeneralResponse ¶
type HandleCallRequest ¶
type HandleCallResponse ¶
type ReplyBusyRequest ¶
type ReplyBusyResponse ¶
type ReplyBusyResponse struct { }
type Session ¶
type StartCallRequest ¶
type StartCallResponse ¶
type StartCallResponse struct { TraceId int64 `json:"traceId"` TraceIdStr string `json:"traceIdStr"` RTCType int32 `json:"RTCType"` Invitees []string `json:"invitees"` Caller string `json:"caller"` CreateTime int64 `json:"createTime"` Timeout int32 `json:"timeout"` Deadline int64 `json:"deadline"` // 0表示私聊, 其他表示群聊 GroupId string `json:"groupId"` }
Click to show internal directories.
Click to hide internal directories.