Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetMaxMessageSize ¶
func SetMaxMessageSize(n int)
func WsPublicHandler ¶
Types ¶
type WsClient ¶
type WsClient struct {
// contains filtered or unexported fields
}
每个 Client 代表一个具体的 IM 用户的具体的某一登录设备
func NewWsClient ¶
func (*WsClient) PostBinaryMsg ¶
type WsHub ¶
type WsHub struct {
// contains filtered or unexported fields
}
func (*WsHub) OnConfigReloaded ¶
func (h *WsHub) OnConfigReloaded()
Click to show internal directories.
Click to hide internal directories.