Implemented LPUSH, RPUSH, and LRANGE commands

This commit is contained in:
Kelvin Clement Mwinuka
2023-07-05 07:10:59 +08:00
parent f744ed8a06
commit 2ea87c64f3
5 changed files with 228 additions and 23 deletions

View File

@@ -3,6 +3,8 @@ package main
import "bufio"
type Server interface {
Lock()
Unlock()
GetData(key string) interface{}
SetData(key string, value interface{})
}