Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

Commit

Permalink
feat: remove stream util helpers
Browse files Browse the repository at this point in the history
FullClose and AwaitEOF were introduced to work around the fact that calling
Close on a stream only closed the write half. All users must adapt their code
to the new interfaces, so this change is intentionally breaking.
  • Loading branch information
Stebalien committed Aug 27, 2020
1 parent 8fe13af commit 307bbdc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 207 deletions.
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
module github.com/libp2p/go-libp2p-core

go 1.15

require (
github.com/btcsuite/btcd v0.0.0-20190213025234-306aecffea32
github.com/coreos/go-semver v0.3.0
Expand Down
56 changes: 0 additions & 56 deletions helpers/stream.go

This file was deleted.

151 changes: 0 additions & 151 deletions helpers/stream_test.go

This file was deleted.

0 comments on commit 307bbdc

Please sign in to comment.