Skip to content

AkihikoITOH/protobuf-over-zeromq-concept

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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