Skip to content

Commit 547507b

Browse files
committed
x
1 parent 3bf02c6 commit 547507b

File tree

1 file changed

+6
-42
lines changed

1 file changed

+6
-42
lines changed

examples/README.md

Lines changed: 6 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -21,62 +21,26 @@ cd hello-world
2121
go run .
2222
```
2323

24-
### [pubsub-events](./pubsub-events/)
25-
Event-driven architecture with NATS:
26-
- Publishing events
27-
- Subscribing to topics
28-
- Event handlers
29-
- Asynchronous processing
30-
31-
**Run it:**
32-
```bash
33-
cd pubsub-events
34-
go run publisher/main.go # Terminal 1
35-
go run subscriber/main.go # Terminal 2
36-
```
37-
3824
### [web-service](./web-service/)
3925
HTTP web service with service discovery:
4026
- HTTP handlers
4127
- Service registration
4228
- Health checks
43-
- Static file serving
29+
- JSON REST API
4430

4531
**Run it:**
4632
```bash
4733
cd web-service
4834
go run .
4935
```
5036

51-
### [grpc-integration](./grpc-integration/)
52-
Using go-micro with gRPC:
53-
- Protocol buffer definitions
54-
- gRPC client/server
55-
- Code generation
56-
- Type-safe APIs
57-
58-
**Run it:**
59-
```bash
60-
cd grpc-integration
61-
make proto # Generate code
62-
go run server/main.go # Terminal 1
63-
go run client/main.go # Terminal 2
64-
```
37+
## Coming Soon
6538

66-
### [production-ready](./production-ready/)
67-
Complete production-grade service:
68-
- Structured logging
69-
- Metrics and tracing
70-
- Health checks
71-
- Graceful shutdown
72-
- Configuration management
73-
- Error handling
39+
The following examples are planned:
7440

75-
**Run it:**
76-
```bash
77-
cd production-ready
78-
go run .
79-
```
41+
- **pubsub-events** - Event-driven architecture with NATS
42+
- **grpc-integration** - Using go-micro with gRPC
43+
- **production-ready** - Complete production-grade service with observability
8044

8145
## Prerequisites
8246

0 commit comments

Comments
 (0)