Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/elahe-dastan/hub

A message delivery system using Go programming language
https://github.com/elahe-dastan/hub

client-server example-project golang hub message-delivery tcp toy-project

Last synced: 6 days ago
JSON representation

A message delivery system using Go programming language

Awesome Lists containing this project

README

        

# Hub

[![Build Status](https://cloud.drone.io/api/badges/elahe-dastan/hub/status.svg)](https://cloud.drone.io/elahe-dastan/hub)

## Protocol
Server and client can talk to each other using the following set of rules:

| Client | Server | Example |
| ------------------- |:-----------------| -----------------------------------------------------------------|
| WhoAmI | WhoAmI,id | client:"WhoAmI"
server:"WhoAmI,1 |
| List | List,id1-id2,... | client:"List"
server:"List,2-3-4 |
| Send,id-id-...,body | Send,body | client:"Send,2-3,I will be late
server:"Send,I will be late" |