gerish

command module
v0.0.0-...-d0c5f12 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2019 License: MIT Imports: 7 Imported by: 0

README

Gerish - for all your API-testing error, timeout, slowish needs

Go Report Card build status coverage report

Installation

To use gerish, you need to install go and set all the environment variables. When that is done you just run:

$ go get gitlab.com/xonvanetta/gerish

Then you can run gerish just by typing:

$  gerish slow

Commands

  • slow
    • When you need a server that responds really slowly.
  • faulty
    • When you need a server that responds only with errors.
  • redirect
    • When you want the server to respond with a temporary redirect.

Flags

All of these commands have their own flags which you can list as so:

$ gerish slow -h
--interval

All commands have this flag in common, by specifying this flag and an integer value, you can set how often the command should return an error.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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