lnd/kvdb/kvdb_postgres.go
2021-10-29 10:54:44 +02:00

16 lines
327 B
Go

// +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()
}