Commit e62a1ea
committed
docs: document producer-consumer example using golang-queue with NSQ
- Update title to "Producer-Consumer Example"
- Add a detailed description of the example using `golang-queue` with NSQ
- Introduce prerequisites section with Go 1.22+ and NSQ installation
- Add instructions for running the producer, including directory navigation and running the producer
- Add instructions for running the consumer, including directory navigation and running the consumer
- Add an explanation section detailing the roles of the producer and consumer
- Ensure NSQ is running and accessible before starting the producer and consumer
Signed-off-by: appleboy <[email protected]>1 parent 6914a8b commit e62a1ea
1 file changed
+29
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
6 | 15 | | |
7 | 16 | | |
8 | | - | |
| 17 | + | |
9 | 18 | | |
10 | 19 | | |
11 | | - | |
| 20 | + | |
12 | 21 | | |
13 | 22 | | |
14 | | - | |
| 23 | + | |
15 | 24 | | |
16 | 25 | | |
17 | | - | |
| 26 | + | |
18 | 27 | | |
19 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
20 | 31 | | |
21 | 32 | | |
22 | | - | |
| 33 | + | |
23 | 34 | | |
24 | 35 | | |
25 | | - | |
| 36 | + | |
26 | 37 | | |
27 | 38 | | |
28 | | - | |
| 39 | + | |
29 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
0 commit comments