(l *lua.LState)
| 102 | } |
| 103 | |
| 104 | func luaContextGetRequest(l *lua.LState) int { |
| 105 | ctx := luaCheckContext(l) |
| 106 | lc := l.NewUserData() |
| 107 | lc.Value = ctx |
| 108 | lc.Metatable = l.GetTypeMetatable("Request") |
| 109 | l.Push(lc) |
| 110 | return 1 |
| 111 | } |
| 112 | |
| 113 | type luaSendContext struct { |
| 114 | msg string |
nothing calls this directly
no test coverage detected