GoToSocial/internal/api
Daenney 68e6d08c76
[feature] Add a request ID and include it in logs (#1476)
This adds a lightweight form of tracing to GTS. Each incoming request is
assigned a Request ID which we then pass on and log in all our log
lines. Any function that gets called downstream from an HTTP handler
should now emit a requestID=value pair whenever it logs something.

Co-authored-by: kim <grufwub@gmail.com>
2023-02-17 12:02:29 +01:00
..
activitypub [chore/bugfix] Serve + throttle publickey separately from rest of ActivityPub API (#1461) 2023-02-08 15:10:56 +01:00
auth [feature] Implement `/api/v2/instance` endpoint (#1409) 2023-02-02 14:08:13 +01:00
client [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
fileserver [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
model [bugfix] Set 'discoverable' properly on API accounts (#1511) 2023-02-16 13:20:23 +00:00
nodeinfo [feature] Implement `/api/v2/instance` endpoint (#1409) 2023-02-02 14:08:13 +01:00
util [feature] Add a request ID and include it in logs (#1476) 2023-02-17 12:02:29 +01:00
wellknown [feature] Implement `/api/v2/instance` endpoint (#1409) 2023-02-02 14:08:13 +01:00
activitypub.go [chore/bugfix] Serve + throttle publickey separately from rest of ActivityPub API (#1461) 2023-02-08 15:10:56 +01:00
auth.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
client.go [chore] stub /api/v1/featured_tags endpoint (#1420) 2023-02-05 10:50:09 +01:00
fileserver.go [bugfix] Set cache-control max-age dynamically for s3 (#1510) 2023-02-16 13:18:53 +00:00
nodeinfo.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00
wellknown.go [chore] Update/add license headers for 2023 (#1304) 2023-01-05 12:43:00 +01:00