Skip to content

aereal/go-aws-timestream-driver

Repository files navigation

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.