Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/elahe-dastan/hub
- Owner: elahe-dastan
- License: apache-2.0
- Created: 2020-03-25T13:56:06.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-04-16T21:01:41.000Z (over 4 years ago)
- Last Synced: 2023-03-05T17:08:01.731Z (over 1 year ago)
- Topics: client-server, example-project, golang, hub, message-delivery, tcp, toy-project
- Language: Go
- Homepage:
- Size: 88.9 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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" |