query

package
v0.0.49 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const TTL = time.Hour

TTL is the duration to keep internal database connection

Variables

This section is empty.

Functions

func GetInternalClient added in v0.0.26

func GetInternalClient(ctx context.Context) *sql.DB

func Open added in v0.0.24

func Open(dsn string) (*sql.DB, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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