Skip to content

Commit e767633

Browse files
authored
Merge pull request #62 from edwargix/master
Fix var name in doc
2 parents b6a99a6 + 35f9ab0 commit e767633

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

p2phttp.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
//
1414
// For example, a simple http.Server on LibP2P works as:
1515
//
16-
// listener, _ := gostream.Listen(host1, p2phttp.P2PProtocol)
16+
// listener, _ := gostream.Listen(host1, p2phttp.DefaultP2PProtocol)
1717
// defer listener.Close()
1818
// go func() {
1919
// http.HandleFunc("/hello", func(w http.ResponseWriter, r *http.Request) {

0 commit comments

Comments
 (0)