mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-01-19 05:45:21 +01:00
13 lines
468 B
Go
13 lines
468 B
Go
package postgres
|
|
|
|
import "time"
|
|
|
|
// Config holds postgres configuration data.
|
|
//
|
|
// nolint:lll
|
|
type Config struct {
|
|
Dsn string `long:"dsn" description:"Database connection string."`
|
|
Timeout time.Duration `long:"timeout" description:"Database connection timeout. Set to zero to disable."`
|
|
MaxConnections int `long:"maxconnections" description:"The maximum number of open connections to the database. Set to zero for unlimited."`
|
|
}
|