We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b6a99a6 + 35f9ab0 commit e767633Copy full SHA for e767633
p2phttp.go
@@ -13,7 +13,7 @@
13
//
14
// For example, a simple http.Server on LibP2P works as:
15
16
-// listener, _ := gostream.Listen(host1, p2phttp.P2PProtocol)
+// listener, _ := gostream.Listen(host1, p2phttp.DefaultP2PProtocol)
17
// defer listener.Close()
18
// go func() {
19
// http.HandleFunc("/hello", func(w http.ResponseWriter, r *http.Request) {
0 commit comments