ipfs-cluster/api/rest/client
Hector Sanjuan c026299b95 Include Name as GlobalPinInfo key and consolidate redundant keys
GlobalPinInfo objects carried redundant information (Cid, Peer) that takes
space and time to serialize.

This has been addressed by having GlobalPinInfo embed PinInfoShort rather than
PinInfo. This new types ommits redundant fields.
2020-05-16 02:27:24 +02: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 gofmt -s fixes 2020-04-14 23:44:18 +02:00
client.go staticcheck: fix all staticcheck warnings in the project 2020-04-14 20:16:10 +02:00
lbclient_test.go Avoid out of index error in failover (#951) 2019-11-13 12:15:29 +01:00
lbclient.go staticcheck: fix all staticcheck warnings in the project 2020-04-14 20:16:10 +02:00
methods_test.go Include Name as GlobalPinInfo key and consolidate redundant keys 2020-05-16 02:27:24 +02:00
methods.go staticcheck: fix all staticcheck warnings in the project 2020-04-14 20:16:10 +02:00
README.md Fix #765 Added needed gx references 2019-07-04 13:57:52 +01:00
request.go staticcheck: fix all staticcheck warnings in the project 2020-04-14 20:16:10 +02:00
transports.go staticcheck: fix all staticcheck warnings in the project 2020-04-14 20:16:10 +02: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