Overwatch/overwatch-rs
Al Liu d6cc851ee6
Error handle and consume self in connect function (#11)
* use &self for connect function

* more &mut self to &self

* error handle

* add DynError

* remove except, return error

* add error handle for ServiceState trait
2022-12-10 16:01:16 +08:00
..
src Error handle and consume self in connect function (#11) 2022-12-10 16:01:16 +08:00
tests Error handle and consume self in connect function (#11) 2022-12-10 16:01:16 +08:00
Cargo.toml Error handle and consume self in connect function (#11) 2022-12-10 16:01:16 +08:00
LICENSE Publish ready (#7) 2022-11-16 14:15:58 +01:00
README.md Publish ready (#7) 2022-11-16 14:15:58 +01:00

README.md

Overwatch

github crates.io docs.rs build status

Overwatch is a framework to easily construct applications that requires of several independent parts that needs communication between them. Everything is self-contained, and it matches somewhat the advantages of microservices.

Design Goals

  • Modularity:

    • Components should be self-contained (as possible)
    • Communication relations between components should be specifically defined
    • Components should be mockable. This is rather important for measurements and testing.
  • Single responsibility:

    • It is easier to isolate problems
    • Minimal sharing when unavoidable
  • Debuggeability

    • Easy to track workflow
    • Easy to test
    • Easy to measure
    • Asynchronous Communication