Expand description
Implements the client facing HTTP server.
Functions§
- item_
get 🔒 - Handler for
GET /{table}/{*key}
Read the key’s value. - item_
list 🔒 - Handler for
GET /{table}
Lists this table keys. - item_
set 🔒 - Handler for
POST /{table}/{*key}
Sets the key’s value equal to this request’s body. - main
- Sets up axum’s router and starts listening for requests.
- table_
create 🔒 - Handler for
POST /
Creates a table and returns its id if successful. Expects table parameters in a form string. - table_
delete 🔒 - Handler for
DELETE /{table}
Deletes the table. - table_
list 🔒 - Handler for
GET /
Returns all table metadata.