Commit Graph

13 Commits

Author SHA1 Message Date
Marten Seemann
60097363b9 fix go vet error in proxy example (#1377) 2022-04-10 04:13:07 -07:00
Marten Seemann
b7bee3855c remove the context from the libp2p and from the Host contructor 2021-09-18 14:06:56 +02:00
Ian Davis
d18fa0f710 Add .gitignore for each example 2021-05-10 11:54:35 +01:00
Steven Allen
9243a830cb chore: fix staticcheck errors 2021-05-07 18:43:57 -07:00
Ian Davis
76e1ce667e Fix up example readmes, submodules and gitignore 2021-05-05 11:32:17 +01:00
Ian Davis
d340059a80 chore: bring examples back into repository 2021-05-05 10:57:48 +01:00
Steven Allen
0ee6c5a218 extract libp2p examples to go-libp2p-examples
Repo: https://github.com/libp2p/go-lib2p-examples
2018-07-27 11:41:28 -07:00
Steven Allen
41c6834850 refactor for transport changes
Also, make the libp2p constructor fully useful. There should now be no need to
manually construct a swarm/host.
2018-06-04 21:22:24 -07:00
Steven Allen
b7c2a0a9b9 make go vet happy 2018-03-02 15:01:17 -08:00
Steven Allen
d2dd60a285 reset on error in proxy example. 2017-09-13 15:51:05 -07:00
David Dias
2c7c62ee3a docs(examples): give a pass through remaining examples 2017-08-19 18:18:07 +02:00
Eric Tang
5b297b7160 typo 2017-04-26 13:17:21 -04:00
Hector Sanjuan
93802a4007 Add http proxy example
The example proxies http requests through a libp2p stream.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-30 11:14:19 +02:00