Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct { Server string // Ex: "changeme.database.windows.net" or "localhost" Port string // Default: "1433" Instance string // Default: "" Username string // Ex: "SA" (or not, we hope) Password string // Ex: "secret", Catalog string // Ex: "databasename" }
Auth is for the MSSQL Server connection details
func (*Auth) NewConnection ¶
NewConnection returns a new MSSQL connection after some simple checks and explicitly setting some defaults
func (*Auth) SecretString ¶
SecretString gives back the full, credentialed access string
Click to show internal directories.
Click to hide internal directories.