1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-23 23:29:42 +02:00

Bump version to 5.11.0

This commit is contained in:
Harvey Kandola 2024-01-10 14:47:40 -05:00
parent a32510b8e6
commit 510e1bd0bd
370 changed files with 18825 additions and 5454 deletions

View file

@ -0,0 +1,20 @@
package msdsn
import (
"context"
"net"
)
type BrowserData map[string]map[string]string
// ProtocolDialer makes the network connection for a protocol
type ProtocolDialer interface {
// Translates data from SQL Browser to parameters in the config
ParseBrowserData(data BrowserData, p *Config) error
// DialConnection eturns a Dialer to make the connection. On success, also set Config.ServerSPN if it is unset.
DialConnection(ctx context.Context, p *Config) (conn net.Conn, err error)
// Returns true if information is needed from the SQL Browser service to make a connection
CallBrowser(p *Config) bool
}
var ProtocolDialers map[string]ProtocolDialer = map[string]ProtocolDialer{}