Documentation ¶
Index ¶
- Variables
- type LogInfo
- func (ti *LogInfo) CloseBound()
- func (ti *LogInfo) CloseSockJSSession(reason string, status uint32)
- func (ti *LogInfo) GetBound() chan string
- func (ti *LogInfo) GetId() int
- func (ti *LogInfo) IntoBound(msg string)
- func (ti *LogInfo) SendMsg(msg interface{})
- func (ti *LogInfo) SetBound(c chan string)
- func (ti *LogInfo) SetId(id int)
- func (ti *LogInfo) SetSockJSSession(s sockjs.Session)
- type LogMap
Constants ¶
This section is empty.
Variables ¶
View Source
var LogInfos = &LogMap{TaskInfos: make(map[int]wsTaskInfo.WsTaskInfo)}
Functions ¶
This section is empty.
Types ¶
type LogInfo ¶
type LogInfo struct { wsTaskInfo.WsTaskInfo // contains filtered or unexported fields }
func (*LogInfo) CloseBound ¶
func (ti *LogInfo) CloseBound()
func (*LogInfo) CloseSockJSSession ¶
func (*LogInfo) SetSockJSSession ¶
type LogMap ¶
type LogMap struct { TaskInfos map[int]wsTaskInfo.WsTaskInfo Lock sync.Mutex wsTaskInfo.WsTask }
func (*LogMap) Get ¶
func (ti *LogMap) Get(id int) wsTaskInfo.WsTaskInfo
func (*LogMap) Set ¶
func (ti *LogMap) Set(id int, task wsTaskInfo.WsTaskInfo)
Click to show internal directories.
Click to hide internal directories.