Documentation ¶
Index ¶
- func MatchRequestByJavascript(ctx context.Context, request *interact.Request, script string) (bool, error)
- func MockResponseByJavascript(ctx context.Context, request *interact.Request, response *interact.Response, ...) error
- func RunScript(ctx context.Context, v8Context *v8go.Context, script string) (*v8go.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MatchRequestByJavascript ¶
func MatchRequestByJavascript(ctx context.Context, request *interact.Request, script string) (bool, error)
MatchRequestByJavascript is used to match mock case by javascript
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.