query

package
v0.0.36 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 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 DSN added in v0.0.26

func DSN(addr string, a *v1.Client_Auth, tls bool) string

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