mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-04 08:17:24 -05:00
12 lines
171 B
Go
12 lines
171 B
Go
|
// +build go1.3
|
||
|
|
||
|
package mssql
|
||
|
|
||
|
import (
|
||
|
"net"
|
||
|
)
|
||
|
|
||
|
func createDialer(p connectParams) *net.Dialer {
|
||
|
return &net.Dialer{Timeout: p.dial_timeout, KeepAlive: p.keepAlive}
|
||
|
}
|