Skip to content

netgen-inc/secret-key-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

1、配置说明
{
    "port":9327, 服务端口
    "log":"access.log", 日志文件
    "redis":{
        "host":"localhost", 
        "port":6379,
        "db":1
    }
}
2、启动
node server.js

3、添加或者更新密钥
POST /secretKey/set

key=KEY&val=VAL

4、获取密钥
GET /secretKey/get?key=KEY


5、添加或者更新密钥
POST /stock/set

key=KEY&val=VAL

6、获取密钥
GET /stock/get?key=KEY

7、查看服务器状态
GET /status

About

2.35版本密钥存储服务

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published