WIP: prepare for testing
This commit is contained in:
@@ -16,7 +16,10 @@ package abstract
|
||||
limitations under the License.
|
||||
*/
|
||||
|
||||
import "time"
|
||||
import (
|
||||
"net"
|
||||
"time"
|
||||
)
|
||||
|
||||
type ConnectionType int
|
||||
|
||||
@@ -42,4 +45,5 @@ type TCPConnectionConfig interface {
|
||||
type UDPConnectionConfig interface {
|
||||
ConnectionConfig
|
||||
Timeout() time.Duration
|
||||
BackendAddr() net.Addr
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user