Marcin Rataj
8b7432d6e8
chore: go-ipfs-files v0.0.9 ( #8488 )
...
Closes #8445
Closes #8406
2021-10-05 23:53:52 +02:00
Adin Schmahmann
85e30b9b36
fuse: load unixfs adls as their dagpb substrates
2021-09-27 17:50:44 -04:00
Marten Seemann
2589e1f65e
enable the legacy mDNS implementation
2021-09-27 17:50:00 -04:00
Adin Schmahmann
5471092d85
chore: update go-path
2021-09-27 15:50:23 -04:00
Marten Seemann
4969ed2b17
chore: update go-libp2p to v0.15.0
2021-09-27 11:12:42 -04:00
Daniel Martí
d6127b062c
make json, cbor, and git codecs error on empty input
2021-09-23 13:01:50 -04:00
Jesse Bouwman
cb189c7b78
go mod tidy ipfs library example
...
The code example for using IPFS as a library doesn't run unless indirect dependencies are updated:
```
$ go version
go version go1.17 linux/amd64
$ uname -a
Linux home 4.19.0-17-amd64 #1 SMP Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux
$ go run main.go
go: github.com/ipfs/go-ipfs@v0.9.1 requires
github.com/ipfs/go-bitswap@v0.4.0: missing go.sum entry; to add it:
go mod download github.com/ipfs/go-bitswap
go: github.com/ipfs/go-ipfs@v0.9.1 requires
github.com/ipfs/go-bitswap@v0.4.0: missing go.sum entry; to add it:
go mod download github.com/ipfs/go-bitswap
```
Remedied by:
```
$ go mod tidy
$ go run main.go
-- Getting an IPFS node running --
Spawning node on a temporary repo
...
```
Also, require go version 1.16, otherwise, example can fail under go
1.15 with errors like:
```
go build github.com/lucas-clemente/quic-go/internal/qtls:
build constraints exclude all Go files in
/home/jbouwman/go/pkg/mod/github.com/lucas-clemente/quic-go@v0.23.0/internal/qtls
```
2021-08-30 09:00:39 -07:00
Petar Maymounkov
c9cc09f6f7
Cosmetic fixups in examples ( #8325 )
...
* test the examples in CI
* combine the two examples into a single one
2021-08-27 11:55:26 -04:00
lasiar
d00e9656ac
refactor(as-a-library): change comment with default path repo
2021-08-03 08:46:16 -07:00
lasiar
da0afea33b
refactor(as-a-library): remove unused context
...
createTempRepo doesn't use context
2021-08-03 08:46:16 -07:00
lasiar
67fdd6e876
refactor(as-a-library): remove redundant alias
...
libp2p doesn't need alias
2021-08-03 08:46:16 -07:00
lasiar
4a9dace814
refactor(as-a-library): wrap error
...
wrap error handling from connectToPeers in a closure
2021-08-03 08:46:16 -07:00
lasiar
d6f442bb86
refactor(as-a-library): replace deprecated functions and structures
2021-08-03 08:46:16 -07:00
lasiar
c5b0f15003
fix(as-a-library): go mod tidy
2021-08-03 08:46:15 -07:00
Peter Rabbitson
90a573354a
Upgrade graphsync deps
2020-08-17 12:23:59 +02:00
@RubenKelevra
2dc1f691f1
quic: remove experimental status and add it to the default config
2020-05-22 04:54:19 +02:00
Louis Thibault
5f9c469b17
Upgrade to IPFS v0.5.0
2020-04-30 00:14:30 +01:00
Louis Thibault
a13311922f
Add module files for go-ipfs-as-a-library example
2020-04-29 23:59:27 +01:00
Steven Allen
f28b8fce66
feat: tls by default
...
Switches to TLS as the default security transports.
2020-03-29 19:12:54 -07:00
Steven Allen
15c35a5a95
doc: update documentation for /ipfs -> /p2p multiaddr switch
...
See: https://github.com/libp2p/libp2p/issues/79
2019-12-14 19:39:59 +01:00
Henrique Dias
698084a88c
Update README.md
2019-12-11 18:03:30 +01:00
Henrique Dias
3d976342dc
Update README.md
2019-12-11 17:54:57 +01:00
Henrique Dias
5a979c6ecd
Update main.go
2019-12-11 17:54:27 +01:00
Henrique Dias
9a9660e04a
Create README.md
2019-12-11 17:53:59 +01:00
Henrique Dias
b370cb13bc
Update README.md
2019-12-11 17:26:52 +01:00
Henrique Dias
a596c970c9
Update main.go
2019-12-11 17:25:46 +01:00
Steven Allen
22a15259e7
fix(example): cancel context
2019-12-05 13:26:46 -05:00
Adin Schmahmann
1283f76aaa
gofmt: go-ipfs-as-a-library
2019-12-05 13:18:38 -05:00
David Dias
79d5cede21
docs: remove extra ) on the example README
2019-10-29 09:16:46 +01:00
David Dias
1bc15a4b42
docs: Tutorial - Using go-ipfs as a Library
2019-10-29 09:12:17 +01:00