ipfs-cluster/pintracker/stateless
Hector Sanjuan a97ed10d0b Adopt api.Cid type - replaces cid.Cid everwhere.
This commit introduces an api.Cid type and replaces the usage of cid.Cid
everywhere.

The main motivation here is to override MarshalJSON so that Cids are
JSON-ified as '"Qm...."' instead of '{ "/": "Qm....." }', as this "ipld"
representation of IDs is horrible to work with, and our APIs are not issuing
IPLD objects to start with.

Unfortunately, there is no way to do this cleanly, and the best way is to just
switch everything to our own type.
2022-04-07 14:27:39 +02:00
..
config_test.go pintracker: PriorityPinMaxAge and PriorityPinMaxRetries 2021-11-30 04:20:35 +01:00
config.go pintracker: PriorityPinMaxAge and PriorityPinMaxRetries 2021-11-30 04:20:35 +01:00
stateless_test.go Adopt api.Cid type - replaces cid.Cid everwhere. 2022-04-07 14:27:39 +02:00
stateless.go Adopt api.Cid type - replaces cid.Cid everwhere. 2022-04-07 14:27:39 +02:00