params

package
v0.52.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DatabaseRetryStrategy = retry.LimitTime(databaseMaxWait,
	retry.Exponential{
		Initial: databaseFirstWait,
		Factor:  databaseWaitGrowth,
		Jitter:  true,
	},
)

Functions

This section is empty.

Types

type Database

type Database struct {
	Driver                string
	ConnectionString      string
	MaxOpenConnections    int32
	MaxIdleConnections    int32
	ConnectionMaxLifetime time.Duration
}

Jump to

Keyboard shortcuts

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