a push server implemented by go.
- Client connects push server by a channel call
uid
. - Multiple clients can use the same channel to connect to push server.
- Messages send to push server also by a channel call
uid
. - If a message send to a channel, all clients that connect with the same channel can receive the message.
- A message will be retained for
N
seconds if no client get it. - If a client get a message from channel, other clients can not get the same message from the same channel if it connect later.