Skip to content
This repository has been archived by the owner on Apr 10, 2018. It is now read-only.
/ hermes Public archive

基于RSA、http用于项目之间交互的中间件

License

Notifications You must be signed in to change notification settings

cwdtom/hermes

Repository files navigation

Hermes

Version License

Overview

Configuration

  • 配置文件需放置于与可执行文件同一目录并命名为hermes.json

  • Example (hermes.json)

    {
      "port": 8080,
      "timeout": 180,
      "keyLength": 1024,
      "backupPath": "/root/backup/",
      "password": "123456",
      "whiteList": [
        "127.0.0.1"
      ]
    }
  1. port:服务启动端口号

  2. timeout::服务过期时间,单位秒

  3. keyLength:密钥长度,加密内容不能超过长度-11

  4. backupPath:服务信息备份地址

  5. password: 监控页面登录密码

  6. whiteList: ip白名单,不在白名单的ip不允许注册,不填写或留空表示允许所有ip(生产环境请勿留空)

Usage

  1. http://your_host:port/ 可以登录监控页面

About

基于RSA、http用于项目之间交互的中间件

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published