lualib

package
v0.0.0-...-270fbaa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LuaMongoLoader

func LuaMongoLoader(L *lua.LState)

func LuaProtoLoader

func LuaProtoLoader(L *lua.LState)

Types

type ConcurrenceLuaHandler

type ConcurrenceLuaHandler struct {
	// contains filtered or unexported fields
}

func NewConcurrenceLuaHandler

func NewConcurrenceLuaHandler(concurrence int, luaDir string, luaFile string) *ConcurrenceLuaHandler

func (*ConcurrenceLuaHandler) ReceiveRawMessage

func (h *ConcurrenceLuaHandler) ReceiveRawMessage(m gbc.RawMessage) error

func (*ConcurrenceLuaHandler) RegisterGlobalFunc

func (h *ConcurrenceLuaHandler) RegisterGlobalFunc(name string, f lua.LGFunction)

func (*ConcurrenceLuaHandler) RegisterGlobalVar

func (h *ConcurrenceLuaHandler) RegisterGlobalVar(name string, v interface{})

func (*ConcurrenceLuaHandler) RegisterModuleLoader

func (h *ConcurrenceLuaHandler) RegisterModuleLoader(loader func(*lua.LState))

func (*ConcurrenceLuaHandler) RegisterType

func (h *ConcurrenceLuaHandler) RegisterType(name string, vt interface{})

func (*ConcurrenceLuaHandler) Start

func (h *ConcurrenceLuaHandler) Start()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL