Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LStatePool ¶
type LStatePool struct { HPath string Htmls map[string][]byte FnVM *lua.LState Luas string Fns map[string]*lua.LFunction VMs chan *lua.LState }
lua虚拟机池
var (
LuaPool *LStatePool
)
func (*LStatePool) LoadHtml ¶
func (pl *LStatePool) LoadHtml(path string) error
func (*LStatePool) MonitorHtml ¶
func (pl *LStatePool) MonitorHtml()
Click to show internal directories.
Click to hide internal directories.