diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-11-08 17:28:48 -0500 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-11-08 17:28:48 -0500 |
| commit | 7a26a75506de82ba1e2e0567f8f96fc2784874e9 (patch) | |
| tree | 54d696bce7f64590f1d24bf496f55813a0e311b6 /docs/design.md | |
| parent | b66bded4c90437503a25fe89e16d15422029dc0b (diff) | |
Rename the project to `pilcrow`.
Diffstat (limited to 'docs/design.md')
| -rw-r--r-- | docs/design.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/design.md b/docs/design.md index 1180b83..6cd0075 100644 --- a/docs/design.md +++ b/docs/design.md @@ -1,6 +1,6 @@ # Internal design -`hi`'s design is discovered and not planned. Do not take this as doctrine; continue to experiment on the structure as you find new needs. +`pilcrow`'s design is discovered and not planned. Do not take this as doctrine; continue to experiment on the structure as you find new needs. As of this writing, the basic flow of most requests hits several subsystems: @@ -15,7 +15,7 @@ This approach helps enable testing (see [testing.md] and the implementation of m Handling time in a service is always tricky. -`hi` takes the approach that a request is considered to be serviced at one time, and that that time is determined when the request is received. The internals of `hi` - the "app" and data access types described below, as well as most other supporting tools - are written with an eye towards accepting the "current time" as an argument, rather than calling out to a clock for themselves. +`pilcrow` takes the approach that a request is considered to be serviced at one time, and that that time is determined when the request is received. The internals of `pilcrow` - the "app" and data access types described below, as well as most other supporting tools - are written with an eye towards accepting the "current time" as an argument, rather than calling out to a clock for themselves. The "current time" for a request is determined in `src/clock.rs`, which runs on every request, and is available to the handler via the `RequestedAt` extractor defined in that module. |
