refactor the error handling and optimize the heap allocation
This commit is contained in:
@@ -40,6 +40,8 @@ type ConnectionConfig interface {
|
||||
type TCPConnectionConfig interface {
|
||||
ConnectionConfig
|
||||
KeepAlive() bool
|
||||
ReadRetry() int
|
||||
WriteRetry() int
|
||||
}
|
||||
|
||||
type UDPConnectionConfig interface {
|
||||
|
||||
Reference in New Issue
Block a user