dataapi

package module
v0.0.0-...-39ff680 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

README

go-sql-aws-dataapi

Go database/sql driver that supports the AWS Data API

Documentation

Overview

Package dataapi provides a driver for Go's database/sql package supporting the AWS Data API.

Index

Constants

View Source
const DriverName = "dataapi"
View Source
const PostgresDateFormat = "2006-01-02 15:04:05.999"

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct{}

Driver is exported to make the driver directly accessible where needed. General usage is expected to be constrained to the database/sql APIs.

func (Driver) Open

func (d Driver) Open(connString string) (driver.Conn, error)

Open takes a connection string in the format `dataapi:///<database>?clusterARN=<cluster ARN>&secretARN=<secret ARN>`

Jump to

Keyboard shortcuts

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