lesson4

command
v0.0.0-...-70b045a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 3, 2018 License: MIT Imports: 9 Imported by: 0

README

Homework-4

实现一个RESTful的KV存储,能持久化保存数据,并且在启动的时候载入之前保存的数据

Set接口

http://192.168.1.8:4000/set/Key/Value

写入Key:Value

Get接口

http://192.168.1.8:4000/get/xxxxxx

获取xxxxx对应的Value,如果不存在就返回HTTP Code 404

持久化

每次Set操作都进行存盘操作

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL