多管理员

This commit is contained in:
奶爸
2020-03-22 22:28:25 +08:00
parent 7e4784b3c2
commit 7143089dcb
3 changed files with 27 additions and 3 deletions

View File

@@ -16,3 +16,18 @@ C/S 采用 gRPC 通信,客户端通过添加主机生成的单独 Token 上报
- 首次连接上报基本信息系统、CPU基本信息后面管理员可从客户端主动拉取更新。
- 监控上报:每隔 3s 向服务器上报系统信息
配置文件参考:
```yaml
debug: true
github:
admin:
- 用户 ID看自己 GitHub 头像链接后面那一串数字
clientid: GitHub Oauth App clientID
clientsecret: client secret
site:
brand: 站点标题
domain: localhost
cookiename: tulong #Cookie 名
```