Skip to content

Commit

Permalink
rename back to kv
Browse files Browse the repository at this point in the history
  • Loading branch information
asim committed Jan 30, 2025
1 parent 28b0c73 commit 0fffeeb
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
kv
kayvee
kv
6 changes: 3 additions & 3 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
project_name: kayvee
project_name: kv
release:
github:
owner: asim
name: kayvee
name: kv
name_template: 'Release {{.Tag}}'
before:
hooks:
- go mod download
builds:
- binary: kayvee
- binary: kv
env:
- CGO_ENABLED=0
- GO111MODULE=on
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ A distributed in-memory key-value store built using [hashicorp/memberlist](https
## Install

```shell
go get github.com/asim/kayvee
go get github.com/asim/kv
```

## Usage

```shell
kayvee
kv
-nodes="": comma seperated list of nodes
-address=:4001 http server host:port
```
Expand All @@ -20,7 +20,7 @@ kayvee

Start first node
```shell
kayvee
kv
```

Make a note of the local node address
Expand All @@ -31,7 +31,7 @@ Listening on :4001

Start second node with first node as part of the nodes list
```shell
kayvee --nodes=192.168.1.64:60496 --address=:4002
kv --nodes=192.168.1.64:60496 --address=:4002
```

You should see the output
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/asim/kayvee
module github.com/asim/kv

go 1.18

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"net/http"
"strings"

"github.com/asim/kayvee/server"
"github.com/asim/kv/server"
)

//go:embed client/*
Expand Down

0 comments on commit 0fffeeb

Please sign in to comment.