Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConnectionState ¶
func GetConnectionState(startTLSType, connectName, connectTo, clientCert, clientKey string) (*tls.ConnectionState, error)
GetConnectionState connects to a TLS server, returning the connection state. Currently, startTLSType can be one of "mysql", "postgres" or "psql", or the empty string, which does a normal TLS connection. connectTo specifies the address to connect to. connectName sets SNI. connectCert and connectKey are client certs
Types ¶
This section is empty.
Directories
¶
Path | Synopsis |
---|---|
Package ldap provides basic LDAP v3 functionality.
|
Package ldap provides basic LDAP v3 functionality. |
Package mysql provides a MySQL driver for Go's database/sql package The driver should be used via the database/sql package: import "database/sql" import _ "github.com/go-sql-driver/mysql" db, err := sql.Open("mysql", "user:password@/dbname") See https://github.com/go-sql-driver/mysql#usage for details
|
Package mysql provides a MySQL driver for Go's database/sql package The driver should be used via the database/sql package: import "database/sql" import _ "github.com/go-sql-driver/mysql" db, err := sql.Open("mysql", "user:password@/dbname") See https://github.com/go-sql-driver/mysql#usage for details |
Package pq is a pure Go Postgres driver for the database/sql package.
|
Package pq is a pure Go Postgres driver for the database/sql package. |
oid
Package oid contains OID constants as defined by the Postgres server.
|
Package oid contains OID constants as defined by the Postgres server. |
Click to show internal directories.
Click to hide internal directories.