You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-15Lines changed: 4 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,24 +34,13 @@ Note: This package largely replaces the functionality of [go-libp2p-conn](https:
34
34
go get github.com/libp2p/go-libp2p-transport-upgrader
35
35
```
36
36
37
-
Note that `go-libp2p-transport-upgrader` is packaged with Gx, so it is recommended to use Gx to install and use it (see the Usage section).
37
+
This repo is [gomod](https://github.com/golang/go/wiki/Modules)-compatible, and users of
38
+
go 1.11 and later with modules enabled will automatically pull the latest tagged release
39
+
by referencing this package. Upgrades to future releases can be managed using `go get`,
40
+
or by editing your `go.mod` file as [described by the gomod documentation](https://github.com/golang/go/wiki/Modules#how-to-upgrade-and-downgrade-dependencies).
38
41
39
42
## Usage
40
43
41
-
This module is packaged with [Gx](https://github.com/whyrusleeping/gx). In order to use it in your own project it is recommended that you:
Please check [Gx](https://github.com/whyrusleeping/gx) and [Gx-go](https://github.com/whyrusleeping/gx-go) documentation for more information.
54
-
55
44
## Example
56
45
57
46
Below is a simplified TCP transport implementation using the transport upgrader. In practice, you'll want to use [go-tcp-transport](https://github.com/libp2p/go-tcp-transport) (which has reuseport support).
0 commit comments