Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
973c5fa0
Commit
973c5fa0
authored
Sep 15, 2015
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update go-peerstream to newest version
License: MIT Signed-off-by:
Jeromy
<
jeromyj@gmail.com
>
parent
c77a96fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
Godeps/Godeps.json
Godeps/Godeps.json
+1
-1
Godeps/_workspace/src/github.com/jbenet/go-peerstream/swarm.go
...s/_workspace/src/github.com/jbenet/go-peerstream/swarm.go
+2
-0
No files found.
Godeps/Godeps.json
View file @
973c5fa0
...
...
@@ -167,7 +167,7 @@
},
{
"ImportPath"
:
"github.com/jbenet/go-peerstream"
,
"Rev"
:
"
214e6057e1c0742c0b5f9bb3060e88dea32a4380
"
"Rev"
:
"
cfdc29a19c1a209d548670f5c33c5cda2e040143
"
},
{
"ImportPath"
:
"github.com/jbenet/go-random"
,
...
...
Godeps/_workspace/src/github.com/jbenet/go-peerstream/swarm.go
View file @
973c5fa0
...
...
@@ -323,6 +323,8 @@ func (s *Swarm) StreamsWithGroup(g Group) []*Stream {
// Close shuts down the Swarm, and it's listeners.
func
(
s
*
Swarm
)
Close
()
error
{
defer
close
(
s
.
closed
)
// automatically close everything new we get.
s
.
SetConnHandler
(
func
(
c
*
Conn
)
{
c
.
Close
()
})
s
.
SetStreamHandler
(
func
(
s
*
Stream
)
{
s
.
Close
()
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment