This project is a proof of concept for an application using ZeroMQ as the communication protocol and Protocol Buffers as the message serialization mechanism.
server
- contains files for a server.client
- contains files for clients which talks to a server.tui
- Terminal UI
protos
- contains.proto
files which defines Protocol Buffer messages.
To generate Go files which contain structs generated from the .proto
files, run ./build/generate_pb.sh
in server
or client/tui
directory.
- Build server program:
cd server; go build
- Build tui client program:
cd client/tui; go build
- Start server:
cd server; ./server
- Start tui client:
cd client/tui; ./tui