redshift

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LastAccessContext

type LastAccessContext struct {
	FromTime string
}

type Redshift

type Redshift struct {
	DB *sql.DB
}

func New

func New(connStr string) (*Redshift, error)

func (*Redshift) Close

func (r *Redshift) Close() error

func (*Redshift) TableAccesses

func (r *Redshift) TableAccesses(ctx context.Context, conf *conf.LastUpdateConf) ([]metrics.TableAccess, error)

Jump to

Keyboard shortcuts

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