go-app-grpc-chat-backend
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.
Overview
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.
Installation
Prebuilt Binaries
Linux, macOS and Windows binaries are available on GitHub Releases.
Go Package
A Go package is available.
Usage
% 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")
License
go-app-grpc-chat-backend (c) 2020 Felicitas Pojtinger
SPDX-License-Identifier: AGPL-3.0