ipfs-cluster/cmdutils
Hector Sanjuan 63972f2b2e API: Refactor REST API. Extract all functionality.
This is a preparatory PR to add additional APIs (Pinning Service API) easily
to cluster.

Instead of copy-pasting most of what the REST API does, I have refactored so
that the whole configuration, routing and request-handling utilities can be
re-used.

The worst part has been to divide the test between tests that test core
(common.API) functionality and tests that test specific REST API endpoint
functionality. I could not get away without an additional common/test package
to provide functions that are used from both places. This is a side effect of
testing both http and libp2p endpoints for every request etc.
2021-09-16 15:52:25 +02:00
..
cmdutils.go Feat: upgrade to dual DHT 2020-04-14 22:03:24 +02:00
configs.go API: Refactor REST API. Extract all functionality. 2021-09-16 15:52:25 +02:00
state.go Support a levelDB backend for cluster 2021-06-09 19:40:36 +02:00