1.set
语法:
set key flags expiration bytes
value
示例:
set k 128 1800 1
v
成功,响应:
STORED
2.get
语法:
get key
成功,响应说明:
VALUE key flags bytes
value
成功,响应示例:
VALUE k 128 1
v
或 miss,响应:
END
3.delete
语法:
delete key
成功,响应:
DELETED
或未找到 key,响应:
NOT FOUND
网友评论