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
cf7c308a
Commit
cf7c308a
authored
2 years ago
by
Jake Taylor
Browse files
Options
Downloads
Patches
Plain Diff
cleanup README
parent
27bb5ddb
No related branches found
No related tags found
1 merge request
!510
Release
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
restlike/README.md
+6
-6
6 additions, 6 deletions
restlike/README.md
with
6 additions
and
6 deletions
restlike/README.md
+
6
−
6
View file @
cf7c308a
# Initialization
#
Server
Initialization
These steps must first be performed in order to begin creating server objects of any variety.
...
...
@@ -9,7 +9,7 @@ The api.Client object created here will be used for all types of api.Identity an
1.
Obtain the NDF
```
go
ndfJson
,
err
:=
DownloadAndVerifySignedNdfWithUrl
(
url
,
cert
)
ndfJson
,
err
:=
api
.
DownloadAndVerifySignedNdfWithUrl
(
url
,
cert
)
```
2.
If not done in previous runs, create a new api.Client object in storage using ndfJson.
...
...
@@ -18,7 +18,7 @@ ndfJson, err := DownloadAndVerifySignedNdfWithUrl(url, cert)
Example:
```
go
err
:=
NewClient
(
ndfJson
,
"/clientStorage"
,
[]
byte
(
"testPassword"
),
""
)
err
:=
api
.
NewClient
(
ndfJson
,
"/clientStorage"
,
[]
byte
(
"testPassword"
),
""
)
```
3.
Login in order to obtain the api.Client object.
...
...
@@ -28,7 +28,7 @@ err := NewClient(ndfJson, "/clientStorage", []byte("testPassword"), "")
Example:
```
go
client
,
err
:=
Login
(
"/clientStorage"
,
[]
byte
(
"testPassword"
),
api
.
GetDefaultParams
())
client
,
err
:=
api
.
Login
(
"/clientStorage"
,
[]
byte
(
"testPassword"
),
api
.
GetDefaultParams
())
```
4.
Start the network follower. Timeout may be modified as needed.
...
...
@@ -47,10 +47,10 @@ It requires an api.Client object.
Example:
```
go
identity
,
err
:=
MakeIdentity
(
client
.
GetRng
(),
client
.
GetStorage
()
.
GetE2EGroup
())
identity
,
err
:=
api
.
MakeIdentity
(
client
.
GetRng
(),
client
.
GetStorage
()
.
GetE2EGroup
())
```
#
Creat
ing Servers
#
Build
ing Servers
### Creating Connect-backed Servers
...
...
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