Documentation
¶
Index ¶
- func Call(filePath string, methodName string, args ...interface{}) (interface{}, error)
- func DoFile(scriptPath string) error
- func ExpireScript(filePath string)
- func LoadScript(filePath string) (string, error)
- func LuaNumberToFloat32(value interface{}) (float32, error)
- func LuaNumberToFloat64(value interface{}) (float64, error)
- func LuaNumberToInt(value interface{}) (int, error)
- func LuaNumberToInt32(value interface{}) (int32, error)
- func LuaNumberToInt64(value interface{}) (int64, error)
- func RefreshScriptCache()
- func RegisterExternMethod(methodName string, method func(...interface{}) (interface{}, error)) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpireScript ¶
func ExpireScript(filePath string)
func LoadScript ¶
func LuaNumberToFloat32 ¶
func LuaNumberToFloat64 ¶
func LuaNumberToInt ¶
func LuaNumberToInt32 ¶
func LuaNumberToInt64 ¶
func RefreshScriptCache ¶
func RefreshScriptCache()
func RegisterExternMethod ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.