- compile and start layotto
go build -o layotto cmd/layotto/main.go
./layotto -c demo/rpc/http/example.json- start echoserver
go run demo/rpc/http/echoserver/echoserver.go- call runtime InvokerService api.
go run demo/rpc/http/echoclient/echoclient.go -d 'hello layotto'- configure mosn to match http request header id equals HelloService:1.0, forward to localhost:8889
- echoserver listen at localhost:8889
- echoclient call the InvokeService grpc api.
