mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-27 09:11:53 -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}
|
||
|
}
|