From bc4e61a0d529044cecf3bfbdf9d22487deebdc91 Mon Sep 17 00:00:00 2001 From: Will Hawkins Date: Wed, 15 Dec 2021 13:29:29 -0500 Subject: Refactoring and error handling. --- utilities/utilities.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utilities/utilities.go') diff --git a/utilities/utilities.go b/utilities/utilities.go index 16585d6..0046544 100644 --- a/utilities/utilities.go +++ b/utilities/utilities.go @@ -27,7 +27,7 @@ type GetLatency struct { Err error } -func TimedSequentialGets(ctx context.Context, client_a *http.Client, client_b *http.Client, url string) chan GetLatency { +func TimedSequentialRTTs(ctx context.Context, client_a *http.Client, client_b *http.Client, url string) chan GetLatency { responseChannel := make(chan GetLatency) go func() { before := time.Now() -- cgit v1.2.3