$ luarocks install lua-resty-yar-grpc-bridge A bidirectional gRPC and YAR protocol bridge for OpenResty.
grpc2yar: receives gRPC client unary calls, converts to YAR calls
and forwards to a PHP YAR server. yar2grpc: receives YAR client
calls, converts to gRPC calls and forwards to a gRPC backend.
Neither client needs awareness of the peer protocol.
Versions
Dependencies
lua-protobuf >= 0.3.0
lua-yar >= 0.1.2
lua-yar-grpc >= 0.1.0