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
9e2c3fb8
Commit
9e2c3fb8
authored
Sep 17, 2014
by
Juan Batiz-Benet
Committed by
Brian Tiger Chow
Sep 22, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
expose Len on PQ
parent
51eeec1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
peer/queue/interface.go
peer/queue/interface.go
+3
-0
No files found.
peer/queue/interface.go
View file @
9e2c3fb8
...
...
@@ -7,6 +7,9 @@ import peer "github.com/jbenet/go-ipfs/peer"
// a KeySpace, latency measurements, trustworthiness, reputation, etc.
type
PeerQueue
interface
{
// Len returns the number of items in PeerQueue
Len
()
int
// Enqueue adds this node to the queue.
Enqueue
(
*
peer
.
Peer
)
...
...
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