Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 485 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 485 Bytes

Chill && Code #1 - In-Memory DB in Go in (15m)

DB Features

  • set key
  • get key
  • delete key
  • manage client connections
  • warn clients before closing
  • backup memory records before exiting

How to Test

server

go run main.go

client

telnet localhost 8080

# set a key in memory db
set key val

# get a key from the memory db
get key

# delete a key from the memory db
delete key

db.json

Check out the db.json for saved data