Want to convert go gRPC client and server into WASM and run it successfully

137 Views Asked by At

I've a basic go grpc client and server running fine and I want to change the client and server into WASM and want to run the wasm file to communicate between server and client through that WASM file that use the gRPC protocol.

Below is the github link of the basic go gRPC client server code. go-grpc-wasm

Any one have any idea about that will be much helpful and appreciated.

Thanks a lot.

I try convert server and client separately into WASM and run it using Wasmedge and got the below error.

wasmedge server.wasm 

[2023-09-21 16:11:21.373] [error] instantiation failed: unknown import, Code: 0x62
[2023-09-21 16:11:21.373] [error]     When linking module: "go" , function name: "debug"
[2023-09-21 16:11:21.373] [error]     At AST node: import description
[2023-09-21 16:11:21.373] [error]     At AST node: import section
[2023-09-21 16:11:21.374] [error]     At AST node: modulee
0

There are 0 best solutions below