Skip to content

Commit

Permalink
fix event groups field
Browse files Browse the repository at this point in the history
  • Loading branch information
icebob committed Sep 11, 2017
1 parent 1bcece0 commit 3861ae4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/PROTOCOL.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
title: Protocol (ver: "2")
title: Protocol v2
---

This documentation describes the communication protocol between Moleculer nodes.
Expand Down Expand Up @@ -163,7 +163,7 @@ When a node is stopping, it broadcasts a `DISCONNECT` packet to all nodes.
| `sender` | `string` || Sender nodeID. |
| `event` | `string` || Event name. E.g.: `users.created` |
| `data` | `string` || JSON encoded event payload. |
| `groups` | `string` || Groups for balanced events. If `null` or empty, the event is broadcasted. |
| `groups` | `Array<string>` || Groups for balanced events. If `null` or empty, the event is broadcasted. |


### `PING`
Expand Down

0 comments on commit 3861ae4

Please sign in to comment.