https://github.com/orisano/wayt
wayt is a command utility of a wait.
https://github.com/orisano/wayt
Last synced: 10 months ago
JSON representation
wayt is a command utility of a wait.
- Host: GitHub
- URL: https://github.com/orisano/wayt
- Owner: orisano
- License: mit
- Created: 2018-09-12T14:29:46.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2025-06-16T09:00:31.000Z (about 1 year ago)
- Last Synced: 2025-06-30T03:52:43.215Z (about 1 year ago)
- Language: Go
- Homepage:
- Size: 250 KB
- Stars: 18
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wayt
wayt is a command utility of a wait.
## Installation
```bash
go install github.com/orisano/wayt@latest
```
## How to use
### wayt
```
$ wayt
wayt: subcommand is required:
Available SubCommands:
- tcp
- sql
- http
- file
- sh
- grpc
$ wayt -h
Usage of wayt:
-i duration
interval (default 1s)
-t duration
timeout (default 5m0s)
-x execute command
```
### wayt tcp
```
$ wayt tcp -h
Usage of tcp:
-a string
target address (required)
```
### wayt sql
```
$ wayt sql -h
Usage of sql:
-d string
driver (default "mysql")
-dsn string
data source name (required)
-env string
(default "DB_URL")
-q string
query (default "SELECT 1;")
-url string
url
```
### wayt http
```
$ wayt http -h
Usage of http:
-m string
method (default "GET")
-u string
url (required)
```
### wayt file
```
$ wayt file -h
Usage of file:
-p string
path (required)
```
### wayt sh
```
$ wayt sh -h
Usage of sh:
-c string
command (required)
```
### wayt grpc
```
$ wayt grpc -h
Usage of grpc:
-addr string
address (required)
-service string
service name to check
-tls
use TLS
-tls-ca-cert string
trusted certificates for verifying server
-tls-client-cert string
-tls-client-key string
-tls-no-verify
do not verify the certificate
-tls-server-name string
```
## Author
Nao Yonashiro (@orisano)
## License
MIT