@cryptotaxi247 / kubo / commits / 16e97bf5e

It builds

This commit was moved from ipfs/go-ipfs-http-client@a23d794e5fceadb9115d8d0c8466c10e9c5d0891

Łukasz Magiera committed Dec 21, 2018 at 18:44 UTC 16e97bf5e8f80b681c5a8d4b96f406b4b83a8e1b
1 file changed +5
client/httpapi/api.go
+5
@@ -9,6 +9,7 @@ import (
9 "strings"
10
11 "github.com/ipfs/go-ipfs/core/coreapi/interface"
12 + "github.com/ipfs/go-ipfs/core/coreapi/interface/options"
13 homedir "github.com/mitchellh/go-homedir"
14 ma "github.com/multiformats/go-multiaddr"
15 manet "github.com/multiformats/go-multiaddr-net"
@@ -78,6 +79,10 @@ func NewApiWithClient(url string, c *gohttp.Client) *HttpApi {
79 }
80 }
81
82 +func (api *HttpApi) WithOptions(...options.ApiOption) (iface.CoreAPI, error) {
83 + return nil, ErrNotImplemented
84 +}
85 +
86 func (api *HttpApi) request(command string, args ...string) *RequestBuilder {
87 return &RequestBuilder{
88 command: command,