go-retry

command module
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2016 License: MIT Imports: 9 Imported by: 0

README

go-retry

A retry command by golang on CLI.

Travis GitHub release MIT License Go Documentation

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

  1. Fork (https://github.com/linyows/go-retry/fork)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Run test suite with the go test ./... command and confirm that it passes
  6. Run gofmt -s
  7. Create a new Pull Request

Author

linyows

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL