chore: ⬆️ Vendor for new deps

This commit is contained in:
2026-02-07 15:51:20 +02:00
parent 88589e00e7
commit 47bf748fd5
128 changed files with 83822 additions and 29 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{}