This is a mini redis server created in Go. To interract with the server, you can do so with netcat:
nc 127.0.0.1 6379
Warning
The server will only read 1024 bytes for each command
Command Format: CMD\nitem1\n...\nitemn
- Format: HSET\nKey\nField\nValue
HSET
843c1744-f6c2-6118-6a62-96ea50c2ea1d
name
Maddux
HSET
843c1744-f6c2-6118-6a62-96ea50c2ea1d
group
Maddux's Group
- Format: HGET\nKey\nField
# example 1: Get Session Name
HGET
843c1744-f6c2-6118-6a62-96ea50c2ea1d
name
# example 2: Get Session Group
HGET
843c1744-f6c2-6118-6a62-96ea50c2ea1d
group
- Format: HSETLIST\nKey\nField\nCSVs
# example 1: Set Session Requested Genres
HSETLIST
843c1744-f6c2-6118-6a62-96ea50c2ea1d
genres
ITALIAN, AMERICAN, JAPANESE
# example response:
OK
- Format: HGETLIST\nKey\nField
# example 1: Get Session Requested Genres
HGETLIST
843c1744-f6c2-6118-6a62-96ea50c2ea1d
genres
# example response:
ITALIAN, AMERICAN, JAPANESE
- Format: HREMOVELISTFIELD\nKey\nField
# example 1: Remove Session Requested Genres
HREMOVELISTFIELD
843c1744-f6c2-6118-6a62-96ea50c2ea1d
genres
# example response:
OK
- Format: HREMOVESTRINGFIELD\nKey\nField
# example 1: Remove Session Name
HREMOVESTRINGFIELD
843c1744-f6c2-6118-6a62-96ea50c2ea1d
name
# example response:
OK
- Format: HREMOVE\nKey\nField
# example 1: Remove Session
HREMOVE
843c1744-f6c2-6118-6a62-96ea50c2ea1d
# example response:
OK