luatiny

package
v0.0.0-...-edd91d0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2019 License: MIT Imports: 20 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultErrHandler

func DefaultErrHandler(L *lua.State, pan interface{})

func InitLuaState

func InitLuaState(luaPath, luaCPath string) (L *lua.State, err error)

func RunLuaFile

func RunLuaFile(L *lua.State, filename string, errhandler lua.LuaGoErrHandler) (rets []interface{}, err error)

Types

type LuaTinyGuide

type LuaTinyGuide struct {
	qtiny.TinyGuide

	Name string

	ConfigPath    string
	ConfigPathAbs string
	Config        map[string]interface{}

	LuaPath     string
	LuaCPath    string
	ReloadDelay time.Duration

	Logger *log.Logger
	// contains filtered or unexported fields
}

func NewLuaTinyGuide

func NewLuaTinyGuide(name string, configPath string) *LuaTinyGuide

type Luaunit

type Luaunit struct {
	Ls []*lua.State
	// contains filtered or unexported fields
}

func (*Luaunit) GetTina

func (o *Luaunit) GetTina() *qtiny.Tina

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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