mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-16 15:49:50 +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}
|
||
|
}
|