Documentation ¶
Overview ¶
Package tls provides the Hera driver for Go's database/sql package
Package tls provides the Hera driver for Go's database/sql package.
The driver should be used via the database/sql package:
import "database/sql" import _ "github.com/paypal/hera/client/gosqldriver/tls" db, err := sql.Open("hera", "1:<ip>:<port>")
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HeraTLSDrv *heraDriver // TODO make it private, create the tlsConfig in Open, where parameters like InsecureSkipVerify are passed via the URL
HeraTLSDrv is a global object keeping the configuration
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.