Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 832 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 832 Bytes

Protocol Buffers & ZeroMQ

This project is a proof of concept for an application using ZeroMQ as the communication protocol and Protocol Buffers as the message serialization mechanism.

Components

  • 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.

Setup

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

Run

  • Start server: cd server; ./server
  • Start tui client: cd client/tui; ./tui