Skip to content

ali-mir/kv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jun 28, 2023
7a2597c · Jun 28, 2023

History

10 Commits
Jun 28, 2023
Oct 21, 2022
Dec 30, 2021
Jun 28, 2023
May 4, 2022
Oct 26, 2022
Oct 26, 2022
Dec 30, 2021

Repository files navigation

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

About

toy in-memory key value store

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages