- 
                Notifications
    You must be signed in to change notification settings 
- Fork 314
Add registered clients feature #86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 1 commit
40a0866
              0cccde7
              57ab154
              053e2cb
              9b0eb8c
              e09981d
              e417dd3
              863bcb3
              d69513b
              f6315e5
              48d780c
              883ecc8
              File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | 
|---|---|---|
|  | @@ -91,7 +91,8 @@ func ParseArgs(hasConfig bool, args ...string) (*options, error) { | |
| cli := flag.NewFlagSet(args[0], flag.ExitOnError) | ||
| args = args[1:] | ||
| if hasConfig { | ||
| config = cli.String("config", "tunnel.yaml", "Path to tunnel configuration file") | ||
| config = cli.String("config", "tunnel.yaml", | ||
| There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. how about  There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I used as an example the "cat" command:  | ||
| "Path to tunnel configuration file. Use HYPHEN (-) for read STDIN.") | ||
| } else { | ||
| var s = "" | ||
| config = &s | ||
|  | ||
| Original file line number | Diff line number | Diff line change | 
|---|---|---|
|  | @@ -24,7 +24,7 @@ import ( | |
| ) | ||
|  | ||
| func Main() { | ||
| MainArgs(os.Args[1:]...) | ||
| MainArgs(os.Args...) | ||
| There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In the old version, the  | ||
| } | ||
|  | ||
| func MainArgs(args ...string) { | ||
|  | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like it's not part of "Default backoff configuration."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is only stdin file path reference.