package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Feb 27, 2022
License: GPL-3.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Copyright © 2022 Furkan Ercevik ercevik.furkan@gmail.com
-
func New(inFile string, authFile string) ([]Request, KeyChain)
-
func Splash(its int, reqs []Request, verbose bool, dest string, chain KeyChain)
-
func Whirlpool(its int, reqs []Request, verbose bool, dest string, chain KeyChain)
-
type KeyChain
-
type Request
New creates new Request structs
Splash runs the specified requests concurrently with the option to count how many requests had a status code of
Whirlpool runs the specified requests cyclically for a specified number of iterations
type KeyChain struct {
User string `yaml:"user"`
Pass string `yaml:"pass"`
Token string `yaml:"token"`
}
ReadCredentials returns a KeyChain struct from a yaml file
Source Files
¶
Click to show internal directories.
Click to hide internal directories.