Documentation
¶
Index ¶
- func Module(name string, val interface{}) func(*lua.LState) error
- func Source(r io.Reader, name ...string) func(*lua.LState) error
- func Type(name string, val interface{}) func(*lua.LState) error
- func Value(name string, val interface{}) func(*lua.LState) error
- type LuaPool
- func (p *LuaPool) Close() error
- func (p *LuaPool) DoFile(file string) error
- func (p *LuaPool) DoString(source string) error
- func (p *LuaPool) Get() *lua.LState
- func (p *LuaPool) Group(l int) (result []*lua.LState)
- func (p *LuaPool) Preload(load ...func(*lua.LState) error) *LuaPool
- func (p *LuaPool) Put(L *lua.LState)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LuaPool ¶
type LuaPool struct {
// contains filtered or unexported fields
}
func NewLuaPool ¶
func NewLuaPool(opt ...lua.Options) *LuaPool
Click to show internal directories.
Click to hide internal directories.