mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
17 lines
352 B
Go
17 lines
352 B
Go
//go:build kvdb_postgres
|
|
// +build kvdb_postgres
|
|
|
|
package kvdb
|
|
|
|
import "github.com/lightningnetwork/lnd/kvdb/postgres"
|
|
|
|
const PostgresBackend = true
|
|
|
|
func NewPostgresFixture(dbName string) (postgres.Fixture, error) {
|
|
return postgres.NewFixture(dbName)
|
|
}
|
|
|
|
func StartEmbeddedPostgres() (func() error, error) {
|
|
return postgres.StartEmbeddedPostgres()
|
|
}
|