-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Make Freezer and Grabber private (#32) - Rework README (#30) - Updated Guides, README and added separate Fridge diagram quick manual - Updated broken links across the documentation. Fixed incorrect graph display in diagram file - Removed unneeded debug outputs (#29) Closes #29 Closes #30 Closes #32
- Loading branch information
Showing
6 changed files
with
70 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Fridge architecture | ||
Diagram below can be used to depict the structural layout of the Fridge library. | ||
|
||
```mermaid | ||
graph TD | ||
A[Fridge] --> B | ||
B{Struct} | ||
B --> E(Encodable) | ||
B --> D(Decodable) | ||
E --> |identifier|freeze | ||
D --> |URL|F[grab] | ||
D --> |identifier|G[unfreeze] | ||
``` | ||
|
||
## Network interface perspective | ||
You can observer `Fridge` interface from the point of network in following way: | ||
|
||
```mermaid | ||
graph TD | ||
N[Network] ==> 1(Fridge) | ||
1 --> |url|grab | ||
``` | ||
|
||
By providing `url` or `urlRequest` objects (and conforming your struct to `Encodable`) you can `grab` network objects easily. | ||
|
||
Keywords: | ||
**`url`**, **`grab`** | ||
|
||
## Storage interface perspective | ||
```mermaid | ||
graph TD | ||
S[Storage] ==> F | ||
F{Fridge} | ||
F --> |identifier|U(unfreeze) | ||
F --> |identifier|R(freeze) | ||
B[BSON] | ||
U --> B | ||
R --> B | ||
``` | ||
|
||
Keywords: | ||
**`identifier`**, **`freeze`**, **`unfreeze`** | ||
|
||
--- | ||
Copyright (c) by Vexy 2022 | ||
Effective since: `2022-03-13` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters