good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
open
bor
Commits
f4e676cc
Commit
f4e676cc
authored
7 years ago
by
Vlad
Browse files
Options
Downloads
Patches
Plain Diff
whipser: comments updated
parent
6e0667fa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmd/wnode/main.go
+5
-3
5 additions, 3 deletions
cmd/wnode/main.go
with
5 additions
and
3 deletions
cmd/wnode/main.go
+
5
−
3
View file @
f4e676cc
...
...
@@ -76,8 +76,8 @@ var (
// cmd arguments
var
(
bootstrapMode
=
flag
.
Bool
(
"standalone"
,
false
,
"boostrap node: do
es no
t initiate connection to peers, just wait
s
for incoming connections"
)
forwarderMode
=
flag
.
Bool
(
"forwarder"
,
false
,
"forwarder mode: only forward
s
messages, neither encrypt
s
nor decrypt
s
messages"
)
bootstrapMode
=
flag
.
Bool
(
"standalone"
,
false
,
"boostrap node: do
n'
t initiate connection to peers, just wait for incoming connections"
)
forwarderMode
=
flag
.
Bool
(
"forwarder"
,
false
,
"forwarder mode: only forward messages, neither encrypt nor decrypt messages"
)
mailServerMode
=
flag
.
Bool
(
"mailserver"
,
false
,
"mail server mode: delivers expired messages on demand"
)
requestMail
=
flag
.
Bool
(
"mailclient"
,
false
,
"request expired messages from the bootstrap server"
)
asymmetricMode
=
flag
.
Bool
(
"asym"
,
false
,
"use asymmetric encryption"
)
...
...
@@ -552,7 +552,9 @@ func messageLoop() {
m2
:=
af
.
Retrieve
()
messages
:=
append
(
m1
,
m2
...
)
for
_
,
msg
:=
range
messages
{
// NB: it is possible that *fileExMode == false && len(*argSaveDir) > 0
// All messages are saved upon specifying argSaveDir.
// fileExMode only specifies how messages are displayed on the console after they are saved.
// if fileExMode == true, only the hashes are displayed, since messages might be too big.
if
len
(
*
argSaveDir
)
>
0
{
writeMessageToFile
(
*
argSaveDir
,
msg
)
}
...
...
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