aboutsummaryrefslogtreecommitdiff
path: root/lbclient.go
diff options
context:
space:
mode:
authorGravatar Oleksandr Redko <oleksandr.red+github@gmail.com> 2023-02-13 04:43:44 +0200
committerGravatar GitHub <noreply@github.com> 2023-02-13 10:43:44 +0800
commite15a810a981cc45928acefd70c4a295c9aeaeed5 (patch)
tree10625a06cddc417a6842f70b841faad1d9642d30 /lbclient.go
parentdocs: replace links to golang.org with go.dev (#1489) (diff)
downloadfasthttp-e15a810a981cc45928acefd70c4a295c9aeaeed5.tar.gz
fasthttp-e15a810a981cc45928acefd70c4a295c9aeaeed5.tar.bz2
fasthttp-e15a810a981cc45928acefd70c4a295c9aeaeed5.zip
docs: fix grammar issues and typos in comments (#1492)
Diffstat (limited to 'lbclient.go')
-rw-r--r--lbclient.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lbclient.go b/lbclient.go
index b18b32c..bc0b63c 100644
--- a/lbclient.go
+++ b/lbclient.go
@@ -70,7 +70,7 @@ func (cc *LBClient) DoTimeout(req *Request, resp *Response, timeout time.Duratio
return cc.get().DoDeadline(req, resp, deadline)
}
-// Do calls calculates deadline using LBClient.Timeout and calls DoDeadline
+// Do calculates timeout using LBClient.Timeout and calls DoTimeout
// on the least loaded client.
func (cc *LBClient) Do(req *Request, resp *Response) error {
timeout := cc.Timeout