Documentation ¶
Index ¶
- func CallDoString()
- func CallLuaFunc1()
- func CallLuaFunc2()
- func CallLuaFunc3()
- func CallLuaFunc4()
- func CheckErr(err error)
- func GoAdd(L *lua.LState) int
- func RunFuncName()
- func RunLuaCallback()
- func RunMyTime()
- func RunReflect()
- func RunSayHello()
- func RunSlice()
- func RunTableMapping()
- func RunTemplate()
- type Address
- type Animal
- type MsgData
- type MsgDataManager
- type Person
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunFuncName ¶
func RunFuncName()
func RunReflect ¶
func RunReflect()
func RunSayHello ¶
func RunSayHello()
func RunTemplate ¶
func RunTemplate()
Types ¶
type MsgData ¶
type MsgData struct { MsgID string // 消息ID StartTime int64 // 发送消息时间戳 nanoseconds EndTime int64 // 接到返回消息时间戳 nanoseconds Sus bool // 运行结果 Fn bool // 是否完成 }
用于缓存消息收发记录
type MsgDataManager ¶
type MsgDataManager struct { Datas []*MsgData // contains filtered or unexported fields }
func (*MsgDataManager) RecvMsg ¶
func (m *MsgDataManager) RecvMsg(msg *string, sus bool)
func (*MsgDataManager) SendMsg ¶
func (m *MsgDataManager) SendMsg(msg *string)
Click to show internal directories.
Click to hide internal directories.