lnd/kvdb/kvdb_postgres.go

17 lines
352 B
Go
Raw Normal View History

2021-11-08 12:00:58 +01:00
//go:build kvdb_postgres
2021-07-16 18:07:30 +02:00
// +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()
}