diff options
| author | Will Hawkins <[email protected]> | 2021-12-15 13:29:29 -0500 |
|---|---|---|
| committer | Will Hawkins <[email protected]> | 2021-12-15 13:29:29 -0500 |
| commit | bc4e61a0d529044cecf3bfbdf9d22487deebdc91 (patch) | |
| tree | 4a353ecb8733a21f5366928c0598a48389b19c10 /utilities/utilities.go | |
| parent | 0390ac743419231022d87f393eaa876876e76ee9 (diff) | |
Refactoring and error handling.
Diffstat (limited to 'utilities/utilities.go')
| -rw-r--r-- | utilities/utilities.go | 2 |
1 files changed, 1 insertions, 1 deletions
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() |
