Skip to content

Latest commit

 

History

History
20 lines (19 loc) · 599 Bytes

README.md

File metadata and controls

20 lines (19 loc) · 599 Bytes

KV

KV is a toy in-memory key value store.

// download dependencies
go mod download
// to run the server (listens on port 20020 by default)
go run server/main.go -port 12345
// to start the CLI
go run cli/cli.go -port 12345

The CLI consumes the client library, and currently supports the following commands:

insert <key> <value> - Insert key and value into kv
lookup <key>         - Lookup key in kv
delete <key>         - Delete key in kv
help                 - Show available commands
clear                - Clear the terminal screen
exit                 - Close your kv client