feat: Update README

This commit is contained in:
Parham Alvani
2021-06-06 13:50:26 +04:30
parent a44c05f41b
commit 50053484a3

View File

@@ -1,14 +1,20 @@
# pakhshi
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/1995parham/pakhshi/golang?label=status&logo=github&style=flat-square)
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/1995parham/pakhshi/lint?label=lint&logo=github&style=flat-square)
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/1995parham/pakhshi/test?label=test&logo=github&style=flat-square)
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/1995parham/pakhshi/release?label=release&logo=github&style=flat-square)
## Introduction
Consider you have an array of brokers but you want to publish and subscribe on all of them at the same time.
Why you may need this setup? consider clients are randomly distributed between available clusters and you don't want to check which client is connected to which
broker so you will publish on all cluster and your client is connected to one them.
## How?
This library use [paho](https://github.com/eclipse/paho.mqtt.golang) in the background so you can easily change your applications to use this instead of paho.
It trying to implement all paho interfaces.
## Credits
Based on idea of [Ahmad Anvari](https://github.com/anvari1313).