🔨 Make the 'Option' type private and add the 'IOption' type

This commit is contained in:
aykhans committed 2024-11-23 17:53:11 +04:00
1 parent a468f663bf
commit 098c1d8cc4
4 files changed
+35 -27

No files matched your search

+9 -9
View File
@@ -47,15 +47,15 @@ func getClients(
}
clients = append(clients, &fasthttp.HostClient{
MaxConns: int(maxConns),
IsTLS: isTLS,
Addr: addr,
Dial: dialFunc,
MaxIdleConnDuration: timeout,
MaxConnDuration: timeout,
WriteTimeout: timeout,
ReadTimeout: timeout,
},
MaxConns: int(maxConns),
IsTLS: isTLS,
Addr: addr,
Dial: dialFunc,
MaxIdleConnDuration: timeout,
MaxConnDuration: timeout,
WriteTimeout: timeout,
ReadTimeout: timeout,
},
)
}
return clients