ipfs-cluster/api/rest/client
Kishan Sagathiya 31534a429b Fix #374: health metrics improvements
- Human-sizes for freespace metrics. Display whether if metric is
expires in something like "expires in 3m".
- When not passing metric name `ipfs-cluster-ctl health metrics` hits
the the metrics endpoint which returns a list of available metrics and
displays to user
- Humanize metrics output
- Sort metrics output
2019-10-24 16:37:26 +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 Some more occurences of /ipfs 2019-08-16 11:56:09 +05:30
client.go Fix #374: health metrics improvements 2019-10-24 16:37:26 +02:00
lbclient_test.go Improve pin/unpin method signatures (#843) 2019-07-22 15:39:11 +02:00
lbclient.go Fix #374: health metrics improvements 2019-10-24 16:37:26 +02:00
methods_test.go Fix #374: health metrics improvements 2019-10-24 16:37:26 +02:00
methods.go Fix #374: health metrics improvements 2019-10-24 16:37:26 +02:00
README.md Fix #765 Added needed gx references 2019-07-04 13:57:52 +01:00
request.go add opencensus tracing and metrics 2019-02-04 18:53:21 +10:00
transports.go Update deps along with go-libp2p-core refactor 2019-06-14 13:10:45 +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