Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/orisano/wayt
wayt is a command utility of a wait.
https://github.com/orisano/wayt
Last synced: 7 days 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 (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-04-17T11:50:23.000Z (7 months ago)
- Last Synced: 2024-04-17T12:54:00.420Z (7 months ago)
- Language: Go
- Homepage:
- Size: 195 KB
- Stars: 17
- Watchers: 3
- 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