Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecCommand ¶
ExecCommand executes a Lua command using the provided arguments and session. It searches for the command handler across all loaded scripts and executes the first match found.
func Initialize ¶
func Initialize(directory string)
Initialize loads all Lua scripts from the provided directory.
func RegisterFunc ¶
func RegisterFunc(funcName string, callable LuaCallable)
RegisterFunc registers a Go function as a global function accessible from all Lua scripts.
Types ¶
Click to show internal directories.
Click to hide internal directories.