Documentation
¶
Index ¶
- func Decode(L *lua.LState, data []byte) (lua.LValue, error)
- func DecodeValue(L *lua.LState, value interface{}) lua.LValue
- func Encode(value lua.LValue) ([]byte, error)
- func GetSetAgentId(L *lua.LState) int
- func GetSetApprovers(L *lua.LState) int
- func GetSetDeptId(L *lua.LState) int
- func GetSetProcessCode(L *lua.LState) int
- func GetSetUserId(L *lua.LState) int
- func Loader(L *lua.LState) int
- func NewGinModule(c *gin.Context) *ginModule
- func NewHttpModule(client *http.Client) *httpModule
- func NewHttpModuleWithDo(do func(req *http.Request) (*http.Response, error)) *httpModule
- func Preload(L *lua.LState)
- func Require(runtime *goja.Runtime, module *goja.Object)
- type Approvers
- type DD_VALUE
- type Util
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeValue ¶
DecodeValue converts the value to a Lua value.
This function only converts values that the encoding/json package decodes to. All other values will return lua.LNil.
func GetSetApprovers ¶
func GetSetProcessCode ¶
Getter and setter for the Person#Name
func NewGinModule ¶
func NewHttpModule ¶
func NewHttpModuleWithDo ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.