command
module
Version:
v0.3.1
Opens a new window with list of versions in this module.
Published: Dec 5, 2016
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
go-retry
A retry command by golang on CLI.
Description
Retry n times with interval for your command until to zero for exit-status.
Usage
$ retry -i 5s -c 2 /usr/lib64/nagios/plugins/check_http -w 10 -c 15 -H localhost
Install
To install, use go get
:
$ go get -d github.com/linyows/go-retry
Contribution
- Fork (https://github.com/linyows/go-retry/fork)
- Create a feature branch
- Commit your changes
- Rebase your local changes against the master branch
- Run test suite with the
go test ./...
command and confirm that it passes
- Run
gofmt -s
- Create a new Pull Request
Author
linyows
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.