Skip to content

Commit 6271df9

Browse files
committed
added doc
1 parent 9f8d35e commit 6271df9

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Readme.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
### Usage:
2+
3+
Each node should run instance of `MoleculerNode` class. Node id can be specified on initialization.
4+
5+
To configure node you must edit `moleculer/service.py` file.
6+
7+
Service configuration in `INFO_PACKET_TEMPLATE`
8+
9+
To handle requests from other nodes (call, dcall), you must implement `request_handler` function.
10+
11+
To handle events (emit, broadcast), you must implement `event_handler`.
12+

0 commit comments

Comments
 (0)