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-unixfs
Commits
05873425
Commit
05873425
authored
Dec 28, 2014
by
Brian Tiger Chow
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: specify iteration order randomization
parent
6bd4a6dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
net/mock/interface.go
net/mock/interface.go
+1
-1
No files found.
net/mock/interface.go
View file @
05873425
...
@@ -26,7 +26,7 @@ type Mocknet interface {
...
@@ -26,7 +26,7 @@ type Mocknet interface {
// ID is derived from PrivKey
// ID is derived from PrivKey
AddPeer
(
ic
.
PrivKey
,
ma
.
Multiaddr
)
(
inet
.
Network
,
error
)
AddPeer
(
ic
.
PrivKey
,
ma
.
Multiaddr
)
(
inet
.
Network
,
error
)
// retrieve things
// retrieve things
(with randomized iteration order)
Peers
()
[]
peer
.
ID
Peers
()
[]
peer
.
ID
Net
(
peer
.
ID
)
inet
.
Network
Net
(
peer
.
ID
)
inet
.
Network
Nets
()
[]
inet
.
Network
Nets
()
[]
inet
.
Network
...
...
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