MCPcopy Create free account
hub / github.com/chanify/chanify / luaContextGetRequest

Function luaContextGetRequest

core/webhook.go:104–111  ·  view source on GitHub ↗
(l *lua.LState)

Source from the content-addressed store, hash-verified

102}
103
104func 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
113type luaSendContext struct {
114 msg string

Callers

nothing calls this directly

Calls 2

luaCheckContextFunction · 0.85
PushMethod · 0.65

Tested by

no test coverage detected