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

19 lines
384 B
Go

// +build !kvdb_postgres
package kvdb
import (
"errors"
"github.com/lightningnetwork/lnd/kvdb/postgres"
)
const PostgresBackend = false
func NewPostgresFixture(dbName string) (postgres.Fixture, error) {
return nil, errors.New("postgres backend not available")
}
func StartEmbeddedPostgres() (func() error, error) {
return nil, errors.New("postgres backend not available")
}