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
p2p
go-p2p-core
Commits
f4b25da8
Commit
f4b25da8
authored
Feb 28, 2020
by
Aarsh Shah
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove network from the events
parent
3e988ff1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
event/network.go
event/network.go
+0
-2
No files found.
event/network.go
View file @
f4b25da8
...
...
@@ -6,7 +6,6 @@ import "github.com/libp2p/go-libp2p-core/network"
// from a peer. It contains the network interface for the connection,
// the connection handle & the new state of the connection.
type
EvtPeerConnectionStateChange
struct
{
Network
network
.
Network
Connection
network
.
Conn
NewState
network
.
Connectedness
}
...
...
@@ -15,7 +14,6 @@ type EvtPeerConnectionStateChange struct {
// It contains the network interface for the connection, the stream handle &
// the new state of the stream.
type
EvtStreamStateChange
struct
{
Network
network
.
Network
Stream
network
.
Stream
NewState
network
.
Connectedness
}
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