Documentation ¶
Overview ¶
Copyright 2016 zxfonline@sina.com. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
Copyright 2016 zxfonline@sina.com. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsyncSendMsg ¶
func AsyncSendMsg(data interface{}, callback CallBackMsg) error
func DelSession ¶
func DelSession(id int64)
func NewSession ¶
func NewSession() int64
func SendMsg ¶
func SendMsg(sessionid int64, data interface{}, callback CallBackMsg) error
Types ¶
type Msg ¶
type Msg struct { SessionId int64 Data interface{} CallBack CallBackMsg }
Click to show internal directories.
Click to hide internal directories.