mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 09:34:02 +03:00
Remove idle timeout from network
This commit is contained in:
@@ -4,7 +4,6 @@ import (
|
||||
"context"
|
||||
"net"
|
||||
"net/http"
|
||||
"time"
|
||||
|
||||
"github.com/stretchr/testify/mock"
|
||||
)
|
||||
@@ -29,7 +28,3 @@ func (m *MtglibNetworkMock) MakeHTTPClient(dialFunc func(ctx context.Context,
|
||||
network, address string) (net.Conn, error)) *http.Client {
|
||||
return m.Called(dialFunc).Get(0).(*http.Client)
|
||||
}
|
||||
|
||||
func (m *MtglibNetworkMock) IdleTimeout() time.Duration {
|
||||
return m.Called().Get(0).(time.Duration)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user