tls

package
v0.0.0-...-4a2d37b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

README

Go SQL driver for the Hera server
With basic tls

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL