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-secio
Commits
0681d1bc
Commit
0681d1bc
authored
Nov 15, 2015
by
Jeromy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vendor in notifier
parent
85a7fc4d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
interface.go
interface.go
+2
-2
protocol.go
protocol.go
+3
-3
rw.go
rw.go
+1
-1
No files found.
interface.go
View file @
0681d1bc
...
...
@@ -6,9 +6,9 @@ import (
ci
"github.com/ipfs/go-libp2p/p2p/crypto"
msgio
"github.com/jbenet/go-msgio"
context
"golang.org/x/net/context"
context
"QmacZi9WygGK7Me8mH53pypyscHzU386aUZXpr28GZgUct/context"
peer
"github.com/ipfs/go-libp2p/p2p/peer"
msgio
"github.com/jbenet/go-msgio"
)
// SessionGenerator constructs secure communication sessions for a peer.
...
...
protocol.go
View file @
0681d1bc
...
...
@@ -9,13 +9,13 @@ import (
"sync"
"time"
msgio
"github.com/jbenet/go-msgio
"
context
"
golang.org/x/ne
t/context"
logging
"QmWRypnfEwrgH4k93KEHN5hng7VjKYkWmzDYRuTZeh2Mgh/go-log
"
context
"
QmacZi9WygGK7Me8mH53pypyscHzU386aUZXpr28GZgUc
t/context"
ci
"github.com/ipfs/go-libp2p/p2p/crypto"
pb
"github.com/ipfs/go-libp2p/p2p/crypto/secio/pb"
peer
"github.com/ipfs/go-libp2p/p2p/peer"
msgio
"github.com/jbenet/go-msgio"
u
"util"
logging
"QmWRypnfEwrgH4k93KEHN5hng7VjKYkWmzDYRuTZeh2Mgh/go-log"
)
var
log
=
logging
.
Logger
(
"secio"
)
...
...
rw.go
View file @
0681d1bc
...
...
@@ -9,10 +9,10 @@ import (
"crypto/hmac"
context
"QmacZi9WygGK7Me8mH53pypyscHzU386aUZXpr28GZgUct/context"
proto
"QmfH4HuZyN1p2wQLWWkXC91Z76435xKrBVfLQ2MY8ayG5R/gogo-protobuf/proto"
msgio
"github.com/jbenet/go-msgio"
mpool
"github.com/jbenet/go-msgio/mpool"
context
"golang.org/x/net/context"
)
const
MaxMsgSize
=
8
*
1024
*
1024
...
...
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