ipfs-cluster/api/ipfsproxy
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 Feature: Support multiple listeners in configuration 2020-02-28 11:16:16 -05:00
config.go Fix #937: Print full working configuration at startup 2020-05-15 01:33:04 +02:00
headers.go ipfsproxy: fix typos in comments 2019-01-11 13:36:56 +01:00
ipfsproxy_test.go Adopt api.Cid type - replaces cid.Cid everwhere. 2022-04-07 14:27:39 +02:00
ipfsproxy.go Adopt api.Cid type - replaces cid.Cid everwhere. 2022-04-07 14:27:39 +02:00
util.go ipfsproxy: hijack repo/gc and trigger cluster-wide GC 2019-12-06 13:08:57 +01:00