Backend for an example chat application using the go-app
package and gRPC over WebSockets (like gRPC-Web). See pojntfx/go-app-grpc-chat-frontend-web for the example frontend.
go-app-grpc-chat-backend
is a short example showing the use of the go-app package and gRPC. This server uses gRPC bi-directional streaming to publish/subscribe chat messages to all clients.
Linux, macOS and Windows binaries are available on GitHub Releases.
A Go package is available.
% go-app-grpc-chat-backend -help
Usage of go-app-grpc-chat-backend:
-laddr string
Listen address. (default "0.0.0.0:1925")
-wsladdr string
Listen address (for the WebSocket proxy). (default "0.0.0.0:10000")
go-app-grpc-chat-backend (c) 2020 Felicitas Pojtinger
SPDX-License-Identifier: AGPL-3.0