refactor: perf, update libraries ci, and add docs

* update config to better defaults
* add docs, inline and md
* add context support throughout
* replace json with goccy/go-json for better decoding of large JSON
* update graphql fetcher: replace ioutil with io
* test runner script (until CI is ready)
* update CI build config
This commit is contained in:
2023-01-11 08:13:59 +00:00
parent 29e7de6816
commit df88d9df16
27 changed files with 204 additions and 144 deletions

4
docs/api.md Normal file
View File

@@ -0,0 +1,4 @@
## API
- `/stats` - Syncer stats (Ready after 1st successful janitor sweep).
- `/metrics` - Go process metrics (Prometheus format).