This repository has been archived by the owner on Dec 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Now allow specifying port 0, and print that port
This PR does the following: - Add a new GetFreePort function to utils.go - Break apart the varibles for websocket address construction - Construct defines.WebsocketAddr before any tasks - Exit on 100 if no free websocket port is available - Change the flag -websocket-addr to two seperate flags (-addr and -port) Requested by William Signed-off-by: Brandon Schneider <[email protected]>
- Loading branch information
Brandon Schneider
committed
May 3, 2019
1 parent
8c63b90
commit f1f3453
Showing
4 changed files
with
62 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters