We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
health
Related issues:
The text was updated successfully, but these errors were encountered:
func main() { capsule.SetHandleHTTP(func (param capsule.HTTPRequest) (capsule.HTTPResponse, error) { }) capsule.SetHandleHealthCheck(func (param capsule.HTTPRequest) (capsule.HTTPResponse, error) { }) }
Sorry, something went wrong.
👀 https://vertx.io/docs/vertx-health-check/java/
other solution: call exported function
//export OnHealthCheck func OnHealthCheck() uint64 { capsule.Print("⛑️ OnHealthCheck") response := capsule.HTTPResponse{ JSONBody: `{"message": "OK"}`, Headers: `{"Content-Type": "application/json; charset=utf-8"}`, StatusCode: 200, } return capsule.Success([]byte(capsule.StringifyHTTPResponse(response))) }
k33g
Successfully merging a pull request may close this issue.
health
exists in the wasm module => probably something to add to the MDKRelated issues:
The text was updated successfully, but these errors were encountered: