Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
client
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
client
Commits
6677ab24
Commit
6677ab24
authored
3 years ago
by
Benjamin Wenger
Browse files
Options
Downloads
Patches
Plain Diff
fixed a typo
parent
bf4d4ec5
No related branches found
No related tags found
3 merge requests
!67
Release
,
!56
added a multilookup function to the bindings
,
!55
fully implemented trial hashing of identity fingerprints. Needs tests.
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
bindings/ud.go
+2
-2
2 additions, 2 deletions
bindings/ud.go
with
2 additions
and
2 deletions
bindings/ud.go
+
2
−
2
View file @
6677ab24
...
@@ -215,12 +215,12 @@ type lookupResponse struct{
...
@@ -215,12 +215,12 @@ type lookupResponse struct{
id
*
id
.
ID
id
*
id
.
ID
}
}
// MuliLookup Looks for the contact object associated with all given userIDs.
// Mul
t
iLookup Looks for the contact object associated with all given userIDs.
// The ids are the byte representation of an id stored in an IDList object.
// The ids are the byte representation of an id stored in an IDList object.
// This will reject if that id is malformed or if the indexing on the IDList
// This will reject if that id is malformed or if the indexing on the IDList
// object is wrong. The MultiLookupCallback will return with all contacts
// object is wrong. The MultiLookupCallback will return with all contacts
// returned within the timeout.
// returned within the timeout.
func
(
ud
UserDiscovery
)
MuliLookup
(
ids
*
IdList
,
callback
MultiLookupCallback
,
func
(
ud
UserDiscovery
)
Mul
t
iLookup
(
ids
*
IdList
,
callback
MultiLookupCallback
,
timeoutMS
int
)
error
{
timeoutMS
int
)
error
{
idList
:=
make
([]
*
id
.
ID
,
0
,
ids
.
Len
())
idList
:=
make
([]
*
id
.
ID
,
0
,
ids
.
Len
())
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment