| Command | Description |
|---|---|
SET |
SET an individual key to a value |
GET |
GET an individual key's value |
HSET |
SET a field and value associated with a key |
HGET |
GET a value associated with a key's field |
EXPIRE |
Add a TTL (seconds) to an existing key |
DEL |
DELETE a key from KeyStore |
PING/HELLO |
PING the server and get a demo response |
go build -o keystore main.go
./keystore| Options | Type | Description |
|---|---|---|
-p |
string |
Custom TCP port number. Default: 6000 |