Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoFile = errors.New("no file")
Functions ¶
func BaseOpen ¶
func BaseOpen(buf io.StringWriter) glua.Function
BaseOpen opens the basic library. Usually passed to Require.
func Open ¶
func Open(l *lua.State, ctx context.Context, cfg OpenSafeConfig)
func OpenSafe ¶
func OpenSafe(l *glua.State, ctx context.Context, cfg OpenSafeConfig, buf io.StringWriter)
func PackageOpen ¶ added in v0.94.0
func PackageOpen(l *lua.State) int
PackageOpen opens the package library. Usually passed to Require.
Types ¶
type OpenSafeConfig ¶ added in v0.99.0
type OpenSafeConfig struct {
NetHTTPEnabled bool
}
Click to show internal directories.
Click to hide internal directories.