-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a922f79
commit e11141d
Showing
1 changed file
with
23 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# portchecker | ||
|
||
portchecker is a simple application to check the port of host is connectable or not | ||
|
||
## Usage | ||
|
||
``` | ||
portchecker [-constr connection string] [-env environment-variable-name] [-attempt maximum-attempt-times] [-wait connection-failed-waiting-time] | ||
-constr connection string under test | ||
example: | ||
tcp://127.0.0.0.1:1234 | ||
postgres://localhost/test | ||
mysql://testuser:[email protected]:1234 | ||
redis://localhost | ||
-env environment variable name | ||
example: | ||
DB_URL | ||
REDIS_URL | ||
-attempt how many times to try, default: 5 times | ||
-wait wait how many time to try next time, default: 3s | ||
``` |