move storage plugins to eventstore module.

This commit is contained in:
fiatjaf
2023-10-31 16:38:32 -03:00
parent bbe186494e
commit b6e7fabeb6
34 changed files with 72 additions and 3051 deletions

View File

@@ -4,8 +4,8 @@ import (
"fmt"
"net/http"
"github.com/fiatjaf/eventstore/badgern"
"github.com/fiatjaf/khatru"
"github.com/fiatjaf/khatru/plugins/storage/badgern"
)
func main() {

View File

@@ -5,7 +5,7 @@ import (
"net/http"
"github.com/fiatjaf/khatru"
"github.com/fiatjaf/khatru/plugins/storage/elasticsearch"
"github.com/fiatjaf/eventstore/elasticsearch"
)
func main() {

View File

@@ -6,7 +6,7 @@ import (
"os"
"github.com/fiatjaf/khatru"
"github.com/fiatjaf/khatru/plugins/storage/lmdbn"
"github.com/fiatjaf/eventstore/lmdbn"
)
func main() {

View File

@@ -5,7 +5,7 @@ import (
"net/http"
"github.com/fiatjaf/khatru"
"github.com/fiatjaf/khatru/plugins/storage/postgresql"
"github.com/fiatjaf/eventstore/postgresql"
)
func main() {

View File

@@ -5,7 +5,7 @@ import (
"net/http"
"github.com/fiatjaf/khatru"
"github.com/fiatjaf/khatru/plugins/storage/sqlite3"
"github.com/fiatjaf/eventstore/sqlite3"
)
func main() {

View File

@@ -6,9 +6,9 @@ import (
"net/http"
"os"
"github.com/fiatjaf/eventstore/lmdbn"
"github.com/fiatjaf/khatru"
"github.com/fiatjaf/khatru/plugins"
"github.com/fiatjaf/khatru/plugins/storage/lmdbn"
"github.com/nbd-wtf/go-nostr"
)