Bryan Stenson
7ebef96ba1
update contributing link
...
This commit was moved from ipfs/go-ipfs-http-client@ef2a556e19
2020-05-12 20:09:16 +00:00
Will Scott
d9004a9061
IDB58Decode -> Decode
...
Allow Non-RSA keys to be decoded by the HTTP client
This commit was moved from ipfs/go-ipfs-http-client@b0549d8623
2020-05-03 12:04:04 -07:00
Joel Gustafson
8f9306304e
Update pin.go
...
This commit was moved from ipfs/go-ipfs-http-client@31b4e60d96
2019-12-07 01:08:48 -05:00
Steven Allen
d48f8fce64
file: implement ReadAt
...
This commit was moved from ipfs/go-ipfs-http-client@88a9b61520
2019-09-10 19:04:10 -07:00
Steven Allen
b6b2ae355b
doc: mark this package experimental instead of WIP ( #30 )
...
We're at a point where this package works pretty well and users should consider
using it.
This commit was moved from ipfs/go-ipfs-http-client@3e8506bbec
2019-08-30 18:44:24 -07:00
godcong
be8f80237d
fix path miss in windows/add a new api create function ( #23 )
...
* fix path was not always correct in windows
* add new api create function for if the port was different with api file.
* Update api.go
remove no need commit
This commit was moved from ipfs/go-ipfs-http-client@8c87debb12
2019-08-12 16:16:47 -07:00
godcong
9345cfa7b8
update to consolidated libp2p interface package ( #21 )
...
and fix parsing of connection latencies
This commit was moved from ipfs/go-ipfs-http-client@fd5cce4cbc
2019-07-20 21:33:35 -07:00
Steven Allen
2612353d85
use error from go-ipfs-cmds
...
note: this drops the Command field
This commit was moved from ipfs/go-ipfs-http-client@523a26f0a8
2019-06-13 12:07:49 -07:00
Steven Allen
1b81f2ef10
add extended error handling
...
fixes #19
This commit was moved from ipfs/go-ipfs-http-client@8e3552ac1e
2019-06-11 17:41:49 -07:00
Łukasz Magiera
8d953a7359
Use interface for RequestBuilder
...
This commit was moved from ipfs/go-ipfs-http-client@0534b7ca83
2019-05-10 15:38:20 +02:00
Alex
8b9e189169
remove unused transport.go file
...
This commit was moved from ipfs/go-ipfs-http-client@320130421f
2019-05-01 19:14:15 -07:00
Alex
daf1b72809
api: fix failing test
...
This commit was moved from ipfs/go-ipfs-http-client@ea507216d8
2019-05-01 17:19:35 -07:00
Alex
fd5010bd2a
api: cleanup header and NewURLApiWithClient test
...
This commit was moved from ipfs/go-ipfs-http-client@b8b55cb89a
2019-05-01 16:13:47 -07:00
Alex
efe3b6054e
api: call NewURLApiWithClient from NewApiWithClient
...
This commit was moved from ipfs/go-ipfs-http-client@aea6890f36
2019-05-01 16:00:48 -07:00
postables
37ea6eb164
Merge branch 'master' into client/auth
...
This commit was moved from ipfs/go-ipfs-http-client@e98ef9ffe1
2019-05-01 14:43:17 -07:00
Alex
89600e62ce
api: add wip api test
...
This commit was moved from ipfs/go-ipfs-http-client@2b48dd36ad
2019-05-01 13:41:37 -07:00
Alex
d8c286bb15
api: remove WithAuthorization, DirectAPI client, instantiate header map
...
This commit was moved from ipfs/go-ipfs-http-client@9c7d495b03
2019-05-01 13:41:15 -07:00
Alex
11a990c7b1
api: expose headers via HttpApi, copy headers during request build
...
This commit was moved from ipfs/go-ipfs-http-client@033befdef3
2019-05-01 13:13:59 -07:00
Steven Allen
ea34bcbd0e
Merge pull request ipfs/go-ipfs-http-client#16 from ipfs/feat/update-paths
...
Update interface - path changes
This commit was moved from ipfs/go-ipfs-http-client@6062f4dc5c
2019-04-27 13:09:55 -07:00
Steven Allen
0fc826dbb7
Merge pull request ipfs/go-ipfs-http-client#14 from ipfs/feat/add-context
...
feed through context
This commit was moved from ipfs/go-ipfs-http-client@0b1bf38e05
2019-04-27 12:54:29 -07:00
Łukasz Magiera
3b67615201
gomod: update iface with path refactor
...
This commit was moved from ipfs/go-ipfs-http-client@0bd65a67ee
2019-04-26 20:30:55 +02:00
Alex
3b02ea4646
api: add authenticated transport, and direct connection
...
This commit was moved from ipfs/go-ipfs-http-client@d04afa02b0
2019-04-09 19:53:07 -07:00
Steven Allen
70158edd59
feed through context
...
see https://github.com/ipfs/go-ipfs-api/pull/173
all credit to @optman
This commit was moved from ipfs/go-ipfs-http-client@7b75a8c577
2019-04-04 00:37:23 -07:00
Edgar Lee
1c07bed904
Export (*HttpApi).request to enable building custom requests
...
This commit was moved from ipfs/go-ipfs-http-client@8c9ed7dbc2
2019-04-01 17:13:39 -07:00
Steven Allen
c791d73355
avoid canceling multiple times
...
This commit was moved from ipfs/go-ipfs-http-client@fe16408225
2019-03-29 13:38:28 +00:00
Steven Allen
40f40b5a65
fix golang-ci lint nits
...
This commit was moved from ipfs/go-ipfs-http-client@ccf20b0ef5
2019-03-29 13:38:28 +00:00
Steven Allen
c6f704b453
return an error when the API file isn't found
...
fixes #7
This commit was moved from ipfs/go-ipfs-http-client@897d1b1bcd
2019-03-29 13:38:28 +00:00
Steven Allen
e76ecd3038
nit: return concrete types
...
This is generally considered the "better" way to do things in go. It also allows
us to expose functions like `request` at some point without changing the API
interface itself.
This commit was moved from ipfs/go-ipfs-http-client@524e5d82e6
2019-03-29 13:38:28 +00:00
Steven Allen
0e800c3d84
update interface-go-ipfs-core and handle breaking changes
...
* No more Hidden, StdinName, and Wrap options.
* LsLink -> DirEntry with file types that don't expose internals.
This commit was moved from ipfs/go-ipfs-http-client@5a7161eeab
2019-03-29 13:08:14 +00:00
Łukasz Magiera
4b30924309
Merge pull request ipfs/go-ipfs-http-client#1 from ipfs/feat/implement
...
Initial implementation
This commit was moved from ipfs/go-ipfs-http-client@449b614d69
2019-02-23 03:45:29 +01:00
Łukasz Magiera
47b820150b
test: don't panic on errors in async node construction
...
This commit was moved from ipfs/go-ipfs-http-client@95ce0f3949
2019-02-21 14:50:10 +01:00
Łukasz Magiera
cc9968d5dd
request: fix Content-Disposition header in Send
...
This commit was moved from ipfs/go-ipfs-http-client@b7db17c63b
2019-02-21 14:39:12 +01:00
Łukasz Magiera
19d91fbb25
response: pass close error in decode
...
This commit was moved from ipfs/go-ipfs-http-client@4a87232eca
2019-02-20 22:08:02 +01:00
Łukasz Magiera
ad844e3d0b
response: simplify Decode
...
This commit was moved from ipfs/go-ipfs-http-client@adbfda4c1c
2019-02-20 16:52:41 +01:00
Łukasz Magiera
f6a3a4fb2d
gofmt
...
This commit was moved from ipfs/go-ipfs-http-client@65cd935e13
2019-02-19 23:28:39 +01:00
Łukasz Magiera
aa4d6e16f1
Add some docs to constructors
...
This commit was moved from ipfs/go-ipfs-http-client@e34cd600e6
2019-02-19 23:26:34 +01:00
Łukasz Magiera
f34788e6ee
cleanup Swarm.Peers
...
This commit was moved from ipfs/go-ipfs-http-client@fd7858dc57
2019-02-19 23:11:08 +01:00
Łukasz Magiera
db1af499c9
use mime.ParseMediaType for Content-Type response parsing
...
This commit was moved from ipfs/go-ipfs-http-client@217d194523
2019-02-19 22:33:57 +01:00
Łukasz Magiera
a058e7d31a
response: Document zero-result Decode behaviour
...
This commit was moved from ipfs/go-ipfs-http-client@902bc5ef8c
2019-02-19 22:27:48 +01:00
Łukasz Magiera
fc299e7e84
pin verify: use temporary struct
...
This commit was moved from ipfs/go-ipfs-http-client@e400fa3b38
2019-02-19 22:19:56 +01:00
Łukasz Magiera
27aa13fe44
return errors from constructor methods
...
This commit was moved from ipfs/go-ipfs-http-client@dbee4e27aa
2019-02-19 21:53:17 +01:00
Łukasz Magiera
745bf92506
gofmt
...
This commit was moved from ipfs/go-ipfs-http-client@f3c2c35086
2019-02-18 17:32:40 +01:00
Łukasz Magiera
3088776f81
swarm: always append peer IDs
...
This commit was moved from ipfs/go-ipfs-http-client@49267901c7
2019-02-18 17:30:02 +01:00
Łukasz Magiera
7be8d01ee7
response: option to disable output draining
...
This commit was moved from ipfs/go-ipfs-http-client@9f3d9635fa
2019-02-18 17:27:12 +01:00
Łukasz Magiera
b6ace8dd40
response: handle late errors
...
This commit was moved from ipfs/go-ipfs-http-client@139e9e5ff1
2019-02-18 17:12:37 +01:00
Łukasz Magiera
7229dbbf73
don't read all and then throw away the buffer
...
This commit was moved from ipfs/go-ipfs-http-client@5c96c2954a
2019-02-18 17:04:33 +01:00
Łukasz Magiera
4a6d36d98b
pubsub: handle ctx
...
This commit was moved from ipfs/go-ipfs-http-client@d451a4943c
2019-02-18 17:02:13 +01:00
Łukasz Magiera
f005b8dc56
pin: verify: parse bad node cids early
...
This commit was moved from ipfs/go-ipfs-http-client@7032dfc9b0
2019-02-18 16:39:00 +01:00
Łukasz Magiera
a23da822de
swarm: attach peerid if needed
...
This commit was moved from ipfs/go-ipfs-http-client@aa88b18ac4
2019-02-14 19:35:32 +01:00
Łukasz Magiera
cc964b4ab8
Simplify Object.New, remove ipldnode.go
...
This commit was moved from ipfs/go-ipfs-http-client@0752a6ee63
2019-02-14 19:15:21 +01:00