Updated module name to echovault

This commit is contained in:
Kelvin Clement Mwinuka
2024-01-24 22:32:05 +08:00
parent bb2d44fe39
commit 1c00706f88
27 changed files with 50 additions and 50 deletions

View File

@@ -1,13 +1,13 @@
FROM --platform=linux/amd64 alpine:latest
RUN mkdir -p /usr/local/lib/memstore
RUN mkdir -p /opt/memstore/bin
RUN mkdir -p /etc/ssl/certs/memstore
RUN mkdir -p /usr/local/lib/echovault
RUN mkdir -p /opt/echovault/bin
RUN mkdir -p /etc/ssl/certs/echovault
COPY ./bin/linux/x86_64/server /opt/memstore/bin
COPY ./openssl/server /etc/ssl/certs/memstore
COPY ./bin/linux/x86_64/server /opt/echovault/bin
COPY ./openssl/server /etc/ssl/certs/echovault
WORKDIR /opt/memstore/bin
WORKDIR /opt/echovault/bin
CMD "./server" \
"--bindAddr" "${BIND_ADDR}" \

2
go.mod
View File

@@ -1,4 +1,4 @@
module github.com/kelvinmwinuka/memstore
module github.com/echovault/echovault
go 1.21.4

View File

@@ -2,10 +2,10 @@ package main
import (
"context"
"github.com/kelvinmwinuka/memstore/src/modules/acl"
"github.com/kelvinmwinuka/memstore/src/modules/pubsub"
"github.com/kelvinmwinuka/memstore/src/server"
"github.com/kelvinmwinuka/memstore/src/utils"
"github.com/echovault/echovault/src/modules/acl"
"github.com/echovault/echovault/src/modules/pubsub"
"github.com/echovault/echovault/src/server"
"github.com/echovault/echovault/src/utils"
"log"
"os"
"os/signal"

View File

@@ -4,9 +4,9 @@ import (
"context"
"encoding/json"
"fmt"
"github.com/echovault/echovault/src/utils"
"github.com/hashicorp/memberlist"
"github.com/hashicorp/raft"
"github.com/kelvinmwinuka/memstore/src/utils"
"time"
)

View File

@@ -7,9 +7,9 @@ import (
"log"
"time"
"github.com/echovault/echovault/src/utils"
"github.com/hashicorp/memberlist"
"github.com/hashicorp/raft"
"github.com/kelvinmwinuka/memstore/src/utils"
"github.com/sethvargo/go-retry"
)

View File

@@ -6,8 +6,8 @@ import (
"encoding/json"
"errors"
"fmt"
"github.com/echovault/echovault/src/utils"
"github.com/gobwas/glob"
"github.com/kelvinmwinuka/memstore/src/utils"
"gopkg.in/yaml.v3"
"log"
"net"

View File

@@ -5,7 +5,7 @@ import (
"encoding/json"
"errors"
"fmt"
"github.com/kelvinmwinuka/memstore/src/utils"
"github.com/echovault/echovault/src/utils"
"gopkg.in/yaml.v3"
"net"
"os"

View File

@@ -1,7 +1,7 @@
package acl
import (
"github.com/kelvinmwinuka/memstore/src/utils"
"github.com/echovault/echovault/src/utils"
"slices"
"strings"
)

View File

@@ -4,7 +4,7 @@ import (
"context"
"errors"
"fmt"
"github.com/kelvinmwinuka/memstore/src/utils"
"github.com/echovault/echovault/src/utils"
"net"
"time"
)

View File

@@ -4,7 +4,7 @@ import (
"context"
"errors"
"fmt"
"github.com/kelvinmwinuka/memstore/src/utils"
"github.com/echovault/echovault/src/utils"
"net"
)

View File

@@ -4,7 +4,7 @@ import (
"context"
"errors"
"fmt"
"github.com/kelvinmwinuka/memstore/src/utils"
"github.com/echovault/echovault/src/utils"
"math/rand"
"net"
"slices"

View File

@@ -4,7 +4,7 @@ import (
"context"
"errors"
"fmt"
"github.com/kelvinmwinuka/memstore/src/utils"
"github.com/echovault/echovault/src/utils"
"math"
"net"
"slices"

View File

@@ -3,7 +3,7 @@ package ping
import (
"context"
"errors"
"github.com/kelvinmwinuka/memstore/src/utils"
"github.com/echovault/echovault/src/utils"
"net"
)

View File

@@ -2,7 +2,7 @@ package ping
import (
"context"
"github.com/kelvinmwinuka/memstore/src/utils"
"github.com/echovault/echovault/src/utils"
"net"
"reflect"
"testing"

View File

@@ -3,7 +3,7 @@ package pubsub
import (
"context"
"errors"
"github.com/kelvinmwinuka/memstore/src/utils"
"github.com/echovault/echovault/src/utils"
"net"
)

View File

@@ -5,7 +5,7 @@ import (
"container/ring"
"context"
"fmt"
"github.com/kelvinmwinuka/memstore/src/utils"
"github.com/echovault/echovault/src/utils"
"io"
"net"
"slices"

View File

@@ -4,7 +4,7 @@ import (
"context"
"errors"
"fmt"
"github.com/kelvinmwinuka/memstore/src/utils"
"github.com/echovault/echovault/src/utils"
"net"
"slices"
"strings"

View File

@@ -1,7 +1,7 @@
package set
import (
"github.com/kelvinmwinuka/memstore/src/utils"
"github.com/echovault/echovault/src/utils"
"math/rand"
"slices"
)

View File

@@ -5,7 +5,7 @@ import (
"context"
"errors"
"fmt"
"github.com/kelvinmwinuka/memstore/src/utils"
"github.com/echovault/echovault/src/utils"
"math"
"net"
"slices"

View File

@@ -4,7 +4,7 @@ import (
"cmp"
"errors"
"fmt"
"github.com/kelvinmwinuka/memstore/src/utils"
"github.com/echovault/echovault/src/utils"
"math"
"math/rand"
"slices"

View File

@@ -4,7 +4,7 @@ import (
"context"
"errors"
"fmt"
"github.com/kelvinmwinuka/memstore/src/utils"
"github.com/echovault/echovault/src/utils"
"net"
"strings"
)

View File

@@ -2,8 +2,8 @@ package raft
import (
"encoding/json"
"github.com/echovault/echovault/src/utils"
"github.com/hashicorp/raft"
"github.com/kelvinmwinuka/memstore/src/utils"
)
type SnapshotOpts struct {

View File

@@ -3,8 +3,8 @@ package raft
import (
"context"
"encoding/json"
"github.com/echovault/echovault/src/utils"
"github.com/hashicorp/raft"
"github.com/kelvinmwinuka/memstore/src/utils"
"io"
)

View File

@@ -4,7 +4,7 @@ import (
"context"
"errors"
"fmt"
"github.com/kelvinmwinuka/memstore/src/memberlist"
"github.com/echovault/echovault/src/memberlist"
"log"
"net"
"os"
@@ -12,9 +12,9 @@ import (
"path/filepath"
"time"
"github.com/echovault/echovault/src/utils"
"github.com/hashicorp/raft"
raftboltdb "github.com/hashicorp/raft-boltdb"
"github.com/kelvinmwinuka/memstore/src/utils"
)
type RaftOpts struct {

View File

@@ -5,7 +5,7 @@ import (
"encoding/json"
"errors"
"fmt"
"github.com/kelvinmwinuka/memstore/src/utils"
"github.com/echovault/echovault/src/utils"
"time"
)

View File

@@ -3,17 +3,17 @@ package server
import (
"context"
"fmt"
"github.com/kelvinmwinuka/memstore/src/modules/acl"
"github.com/kelvinmwinuka/memstore/src/modules/etc"
"github.com/kelvinmwinuka/memstore/src/modules/get"
"github.com/kelvinmwinuka/memstore/src/modules/hash"
"github.com/kelvinmwinuka/memstore/src/modules/list"
"github.com/kelvinmwinuka/memstore/src/modules/ping"
"github.com/kelvinmwinuka/memstore/src/modules/pubsub"
"github.com/kelvinmwinuka/memstore/src/modules/set"
"github.com/kelvinmwinuka/memstore/src/modules/sorted_set"
str "github.com/kelvinmwinuka/memstore/src/modules/string"
"github.com/kelvinmwinuka/memstore/src/utils"
"github.com/echovault/echovault/src/modules/acl"
"github.com/echovault/echovault/src/modules/etc"
"github.com/echovault/echovault/src/modules/get"
"github.com/echovault/echovault/src/modules/hash"
"github.com/echovault/echovault/src/modules/list"
"github.com/echovault/echovault/src/modules/ping"
"github.com/echovault/echovault/src/modules/pubsub"
"github.com/echovault/echovault/src/modules/set"
"github.com/echovault/echovault/src/modules/sorted_set"
str "github.com/echovault/echovault/src/modules/string"
"github.com/echovault/echovault/src/utils"
"strings"
)

View File

@@ -4,11 +4,11 @@ import (
"context"
"crypto/tls"
"fmt"
"github.com/kelvinmwinuka/memstore/src/memberlist"
"github.com/kelvinmwinuka/memstore/src/modules/acl"
"github.com/kelvinmwinuka/memstore/src/modules/pubsub"
"github.com/kelvinmwinuka/memstore/src/raft"
"github.com/kelvinmwinuka/memstore/src/utils"
"github.com/echovault/echovault/src/memberlist"
"github.com/echovault/echovault/src/modules/acl"
"github.com/echovault/echovault/src/modules/pubsub"
"github.com/echovault/echovault/src/raft"
"github.com/echovault/echovault/src/utils"
"io"
"log"
"net"