Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Snowflake WebExtension
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
Cecylia Bocovich
Snowflake WebExtension
Commits
80acfbd8
Commit
80acfbd8
authored
8 years ago
by
David Fifield
Browse files
Options
Downloads
Patches
Plain Diff
Explain more in usage.
parent
b86bbd74
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
server/server.go
+9
-5
9 additions, 5 deletions
server/server.go
with
9 additions
and
5 deletions
server/server.go
+
9
−
5
View file @
80acfbd8
...
...
@@ -41,11 +41,15 @@ var ptInfo pt.ServerInfo
var
handlerChan
=
make
(
chan
int
)
func
usage
()
{
fmt
.
Printf
(
"Usage: %s [OPTIONS]
\n\n
"
,
os
.
Args
[
0
])
fmt
.
Printf
(
"WebSocket server pluggable transport for Tor.
\n
"
)
fmt
.
Printf
(
"Works only as a managed proxy.
\n
"
)
fmt
.
Printf
(
"
\n
"
)
fmt
.
Printf
(
" -h, -help show this help.
\n
"
)
fmt
.
Fprintf
(
os
.
Stderr
,
`Usage: %s [OPTIONS]
WebSocket server pluggable transport for Snowflake. Works only as a managed
proxy. Uses TLS with ACME (Let's Encrypt) by default. Set the certificate
hostnames with the --acme-hostnames option. Use ServerTransportListenAddr in
torrc to choose the listening port. When using TLS, if the port is not 443, this
program will open an additional listening port on 443 to work with ACME.
`
,
os
.
Args
[
0
])
flag
.
PrintDefaults
()
}
...
...
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