channeldb/test: test with postgres
This commit is contained in:
13 files changed
+152
-3
No files matched your search
@@ -0,0 +1,15 @@
|
||||
// +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()
|
||||
}
|
||||
Reference in new issue
Block a user