How can I broadcast to a client connected by a bi-directional stream with grpc?
I am the first scholar of grpc. I think it is an ugly question.
A simple chat application is created using grpc-go. and want to achieve is something like this.
@Each of clientA, clientB, clientC, connects to serverA, and has a bidirectional stream connection. For example, if you want to notify clientA, B, C that clientD has connected to serverA, what kind of implementation method is there?
I have read these posts, but I would like to know the best practices.
For example, when creating a client list and notifying there, how should this be code?