package
0.0.0-20200906202235-9a5de04e3e8e
Repository: https://github.com/raggaer/bison.git
Documentation: pkg.go.dev

# Functions

CompileFiles compiles all lua files into function protos.
CompileLua reads the passed lua file from disk and compiles it.
DoCompiledFile takes a FunctionProto, as returned by CompileLua, and runs it in the LState.
GoValueToLua converts a go value into a lua value.
IsValueTable checks if the lua value is a table.
LuaValueToGo converts a lua value into a go value.
MapToTable converts a Go map into a lua table.
NewCacheModule returns a new cache module.
NewConfigModule returns a new config module.
NewEnvironmentModule returns a new env module.
NewHTTPModule returns a new http module.
NewJSONModule returns a new JSON module.
NewSessionModule returns a new session module.
NewState creates a new lua state with bison modules.
NewTemplateModule returns a new template module.
NewURLModule returns a new url module.
TableToMap converts a lua table into a go map[string]interface.

# Structs

CacheModule provices access to the memory cache object.
ConfigModule provides access to config values.
EnvironmentModule module for set and get env variables.
HTTPModule module for all http actions.
JSONModule provides access to json methods.
LoaderValue sets values on a module loader func.
Module represents a lua module.
ModuleValue data used for module values.
SessionModule defines a request session module.
TemplateModule defines a html template module.
URLModule module for some url manipulation actions.