ipfs-cluster/api/rest/client
Hector Sanjuan b3853caf36 Dependency ugprade: changes needed
* Libp2p protectors no longer needed, use PSK directly
* Generate cluster 32-byte secret here (helper gone from pnet)
* Switch to go-log/v2 in all places
* DHT bootstrapping not needed. Adjust DHT options for tests.
* Do not rely on dissappeared CidToDsKey and DsKeyToCid functions fro dshelp.
* Disable QUIC (does not support private networks)
* Fix tests: autodiscovery started working properly
2020-03-22 14:50:25 +01:00
..
.travis.yml Fix #260: Add REST API client and use it in ipfs-cluster-ctl 2017-12-06 20:12:01 +01:00
client_test.go Dependency ugprade: changes needed 2020-03-22 14:50:25 +01:00
client.go Dependency ugprade: changes needed 2020-03-22 14:50:25 +01:00
lbclient_test.go Avoid out of index error in failover (#951) 2019-11-13 12:15:29 +01:00
lbclient.go Remove map pintracker (#944) 2019-12-12 21:22:54 +01:00
methods_test.go Remove map pintracker (#944) 2019-12-12 21:22:54 +01:00
methods.go fix: Fix typos (#1001) 2020-02-03 10:30:04 +01:00
README.md Fix #765 Added needed gx references 2019-07-04 13:57:52 +01:00
request.go API/client: add context to http requests 2020-03-13 14:26:39 +01:00
transports.go Dependency ugprade: changes needed 2020-03-22 14:50:25 +01:00

ipfs-cluster client

Made by Main project IRC channel standard-readme compliant GoDoc Go Report Card Build Status Coverage Status

Go client for ipfs-cluster HTTP API.

This is a Go client library to use the ipfs-cluster REST HTTP API.

Table of Contents

Install

You can import github.com/ipfs/ipfs-cluster/api/rest/client in your code.

The code can be downloaded and tested with:

$ go get -u -d github.com/ipfs/ipfs-cluster
$ cd $GOPATH/src/github.com/ipfs/ipfs-cluster/rest/api/client
$ go test -v

Usage

Documentation can be read at Godoc.

Contribute

PRs accepted.

License

MIT © Protocol Labs