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
3ac50c3a
Commit
3ac50c3a
authored
3 years ago
by
Jake Taylor
Browse files
Options
Downloads
Patches
Plain Diff
added some comments
parent
8e98267f
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!510
Release
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
xxdk/e2e.go
+2
-2
2 additions, 2 deletions
xxdk/e2e.go
with
2 additions
and
2 deletions
xxdk/e2e.go
+
2
−
2
View file @
3ac50c3a
...
...
@@ -35,14 +35,14 @@ type E2e struct {
}
// Login creates a new E2e backed by the xxdk.Cmix persistent versioned.KV
// If identity == nil, a new ReceptionIdentity will be generated automagically
// It bundles a Cmix object with a ReceptionIdentity object
// and initializes the auth.State and e2e.Handler objects
func
Login
(
client
*
Cmix
,
callbacks
auth
.
Callbacks
,
identity
ReceptionIdentity
)
(
m
*
E2e
,
err
error
)
{
return
login
(
client
,
callbacks
,
identity
,
client
.
GetStorage
()
.
GetKV
())
}
// LoginEphemeral creates a new E2e backed by a totally ephemeral versioned.KV
// If identity == nil, a new ReceptionIdentity will be generated automagically
func
LoginEphemeral
(
client
*
Cmix
,
callbacks
auth
.
Callbacks
,
identity
ReceptionIdentity
)
(
m
*
E2e
,
err
error
)
{
return
login
(
client
,
callbacks
,
identity
,
versioned
.
NewKV
(
ekv
.
MakeMemstore
()))
...
...
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