mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-12-08 20:03:10 +01:00
kvdb: add postgres
This commit is contained in:
9
kvdb/postgres/config.go
Normal file
9
kvdb/postgres/config.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package postgres
|
||||
|
||||
import "time"
|
||||
|
||||
// Config holds postgres configuration data.
|
||||
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."`
|
||||
}
|
||||
Reference in New Issue
Block a user