adds comments and removes unused options

This commit is contained in:
cubixle
2021-08-04 23:25:29 +01:00
parent 4cde4072b9
commit 0370a730f2
3 changed files with 34 additions and 16 deletions
+3
View File
@@ -5,6 +5,9 @@ import (
"time"
)
// DefaultHTTPTester is an implementation of a simple load testing func.
// It follows the F signature and returns a Result.
// Any errors that occur will be set at Result.Error.
func DefaultHTTPTester(target string) *Result {
result := &Result{}
client := http.Client{