Marketplace

gRPC

Infrastructure

gRPC streaming transport for realtime.

togo-framework
bash
togo install togo-framework/realtime-grpc

Install

bash
togo install togo-framework/realtime-grpc

realtime-grpc

A gRPC transport for togo realtime. Implements togo.Broker: Publish fans events to in-process subscribers (the SSE Handler, for browsers) and to connected gRPC streaming clients (service-to-service realtime). A gRPC server runs on GRPC_ADDR exposing a server-streaming Subscribe method — using a JSON codec, so no protoc-generated code is required.

Install

bash
togo install togo-framework/realtime-grpc

Configure (.env)

ini
GRPC_ADDR=:50051

gRPC clients dial with the json content-subtype and call togo.realtime.Realtime/Subscribe to receive {"event","data"} messages.

MIT © togo-framework


<div align="center"> <h3>Premium sponsors</h3> <p> <a href="https://id8media.com"><strong>ID8 Media</strong></a> &nbsp;·&nbsp; <a href="https://one-studio.co"><strong>One Studio</strong></a> </p> <p><sub>Support togo — <a href="https://github.com/sponsors/fadymondy">become a sponsor</a>.</sub></p> </div>