https://github.com/weaming/hub2-go
Rewrite hub2 in Golang
https://github.com/weaming/hub2-go
Last synced: about 1 year ago
JSON representation
Rewrite hub2 in Golang
- Host: GitHub
- URL: https://github.com/weaming/hub2-go
- Owner: weaming
- Created: 2020-05-07T13:40:49.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-26T07:56:46.000Z (almost 6 years ago)
- Last Synced: 2025-03-02T08:29:13.095Z (over 1 year ago)
- Language: Go
- Size: 37.4 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 功能
- [x] 连接 [Hub](https://hub.drink.cafe) 的 WebSocket,带自动重连
- [x] 连接 Telegram Bot,处理 `/sub`、`/unsub` 命令 (管理订阅状态,回复订阅状态汇总,向 Hub 订阅主题)
- [x] 订阅状态持久化
- [x] 分发 Hub 下发的消息给 Telegram 用户