mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-13 22:29:33 +01: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}
|
||
|
}
|