mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 08:42:32 -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}
|
||
|
}
|