Categorygithub.com/aereal/go-aws-timestream-driver
modulepackage
1.8.0
Repository: https://github.com/aereal/go-aws-timestream-driver.git
Documentation: pkg.go.dev

# README

CI PkgGoDev

go-aws-timestream-driver

go get github.com/aereal/go-aws-timestream-driver

Usage

import (
  "database/sql"

  "github.com/aereal/go-aws-timestream-driver"
)

func main() {
  sql.Open(timestreamdriver.DriverName, "awstimestream:///")
}

See also Data Source Name format section.

Data Source Name format

In URI template normative definition:

awstimestream://{customEndpointHost}/{?region,accessKeyID,secretAccessKey,enableXray}

Example:

awstimestream://custom-endpoint.example/?region=us-east-1&accessKeyID=my-key&enableXray=true

License

See LICENSE file.

# Functions

Array converts `x` into corresponding concrete scannable types.
No description provided by the author

# Constants

DriverName is name of the driver that this package provides.

# Variables

ErrTooFewParameters is an error indicates number of passed parameters less than query's placeholders.

# Structs

BareStringValue is a string parameter but not quoted.
No description provided by the author
No description provided by the author

# Type aliases

BooleanArray is a wrapper type of []bool that scannable by database/sql.
FloatArray is a wrapper type of []float64 that scannable by database/sql.
IntegerArray is a wrapper type of []int that scannable by database/sql.
StringArray is a wrapper type of []string that scannable by database/sql.