db

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DBReadTimeout  = 1 * time.Minute
	DBWriteTimeout = 1 * time.Minute
)

Variables

View Source
var (
	DBReadURL       string // https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING
	DBWriteURL      string
	DBMigrationsDir = "./migrations"
	DBStmtTimeout   = 10 * time.Second
	DBNumConns      = 0 // max db conns, 0 = use driver-recommended default
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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