ipfs-cluster/api/rest/client
Hector Sanjuan 00dffe23b8 Adder: Add "no-pin" option.
This does 3 things:

- Add a NoPin option to the adder. When set to true, the adding process does not
send a pin in the end.

- When user-allocations are set and local=true happens, we do not overwrite
  the allocations returned by the allocator to include the local peer
  anymore, as this could alter user-allocations.

- Some code improvement (remove pointers).
2022-02-28 20:10:12 +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 Fix rest client tests: do not use QUIC 2021-11-30 07:05:35 +01:00
client.go Adder: Add "no-pin" option. 2022-02-28 20:10:12 +01:00
lbclient_test.go Avoid out of index error in failover (#951) 2019-11-13 12:15:29 +01:00
lbclient.go Adder: Add "no-pin" option. 2022-02-28 20:10:12 +01:00
methods_test.go Adder: Add "no-pin" option. 2022-02-28 20:10:12 +01:00
methods.go Adder: Add "no-pin" option. 2022-02-28 20:10:12 +01:00
README.md Fix #765 Added needed gx references 2019-07-04 13:57:52 +01:00
request.go misc: re-order some imports 2021-12-17 11:47:50 +01:00
transports.go Changes pertaining to go-libp2p v0.16.0 2021-11-30 06:25:15 +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