summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-09 00:32:18 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-09 00:32:18 -0800
commit68011839aebbdbfe5bee2730d297dd60b4ed8065 (patch)
treeb475073c41f9130802af36376f475b026b914e9d
parentaef5781fdf5eca67ea7b2c04399500994090050d (diff)
downloadfatcat-68011839aebbdbfe5bee2730d297dd60b4ed8065.tar.gz
fatcat-68011839aebbdbfe5bee2730d297dd60b4ed8065.zip
update HACKING with new file names
-rw-r--r--rust/HACKING.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/rust/HACKING.md b/rust/HACKING.md
index 5ea31b40..1a33f9c8 100644
--- a/rust/HACKING.md
+++ b/rust/HACKING.md
@@ -8,12 +8,12 @@ swagger API spec on one side and the SQL schema on the other.
- `./src/database_schema.rs`: autogenerated per-table Diesel schemas
- `./src/database_models.rs`: hand- and macro-generated Rust structs matching
Diesel schemas, and a small number of row-level helpers
-- `./src/api_entity_crud.rs`: "struct-relational-mapping"; trait
+- `./src/entity_crud.rs`: "struct-relational-mapping"; trait
implementations of CRUD (create, read, update, delete) actions for each
entity model, hitting the database (and building on `database_model` structs)
-- `./src/api_server.rs`: one function for each API endpoint, with rust-style
+- `./src/endpoint_handlers.rs`: one function for each API endpoint, with rust-style
arguments and return types. mostly calls in to `api_entity_crud`.
-- `./src/api_wrappers.rs`: hand- and macro-generated wrapper functions, one per
+- `./src/endpoints.rs`: hand- and macro-generated wrapper functions, one per
API endpoint, that map between API request and return types, and
rust-idiomatic request and return types (plus API models).
- `./fatcat-api-spec`: autogenerated API models and endpoint types/signatures