feat: API Handlers
This commit is contained in:
parent
b753631012
commit
f389c9c876
8 changed files with 249 additions and 71 deletions
9
config-api-sample.toml
Normal file
9
config-api-sample.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
[server]
|
||||
address = ":8080"
|
||||
name = "doggo-api"
|
||||
# WARNING If these timeouts are less than 1s,
|
||||
# the server connection breaks.
|
||||
read_timeout=7000
|
||||
write_timeout=7000
|
||||
keepalive_timeout=5000
|
||||
max_body_size=10000
|
Loading…
Add table
Add a link
Reference in a new issue