docs: change slighly
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
595e82c064
commit
8f4f441574
@ -6,7 +6,7 @@ The value of crunch is that you can separate your own business domain from other
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
See [examples](crates/crunch/examples/) for a more holistic listing of features
|
See [examples](examples/) for a more holistic listing of features
|
||||||
|
|
||||||
```rust
|
```rust
|
||||||
#[tokio::main]
|
#[tokio::main]
|
||||||
@ -34,7 +34,7 @@ This will publish `SomeEvent` as a domain event. The API is subject to change, a
|
|||||||
|
|
||||||
## Workflow
|
## Workflow
|
||||||
|
|
||||||
Domain events works off of the principle that your interface is protobuf, as such your service will publish protobuf events, and subscribe to other services if needed.
|
Domain events works off of the principle that your interface is `protobuf`, as such your service will publish protobuf events, and subscribe to other services if needed.
|
||||||
|
|
||||||
To handle this workflow we introduce `crunch.toml` a file to manage these relationships.
|
To handle this workflow we introduce `crunch.toml` a file to manage these relationships.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user