Documentation ¶
Index ¶
- Variables
- func ExecScript(script string) (err error)
- func GetRespValueFromGoja() (err error)
- func InitJsRuntime(tenantId consts.TenantId, projectId uint)
- func SetReqValueToGoja(req mockGenerator.Request)
- func SetRespValueToGoja(resp mockGenerator.Response)
- func SetValueToGoja(name string, value interface{})
- type JsVm
Constants ¶
This section is empty.
Variables ¶
View Source
var (
CurrResponse mockGenerator.Response
)
Functions ¶
func ExecScript ¶
func GetRespValueFromGoja ¶
func GetRespValueFromGoja() (err error)
func InitJsRuntime ¶
func SetReqValueToGoja ¶
func SetReqValueToGoja(req mockGenerator.Request)
func SetRespValueToGoja ¶
func SetRespValueToGoja(resp mockGenerator.Response)
func SetValueToGoja ¶
func SetValueToGoja(name string, value interface{})
Types ¶
Click to show internal directories.
Click to hide internal directories.