Examples¶
The following examples demonstrate the three method patterns supported by vgi-rpc:
| Example | Pattern | Description |
|---|---|---|
| Hello World | Unary | Minimal server with a single add method |
| Calculator | Unary | Multiple methods with logging and error handling |
| Streaming | Producer / Exchange | Batch-oriented streaming with state management |
All examples are available in the examples/ directory.