Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
O
Onebot Lb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
3rdeye
Onebot Lb
Commits
347a1401
Commit
347a1401
authored
Oct 29, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
readme and license
parent
806a8f39
Pipeline
#6533
canceled with stages
in 1 minute and 11 seconds
Changes
2
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
659 deletions
+26
-659
LICENSE
LICENSE
+17
-656
README.md
README.md
+9
-3
No files found.
LICENSE
View file @
347a1401
This diff is collapsed.
Click to expand it.
README.md
View file @
347a1401
# onebot-lb
[
OneBot
](
https://onebot.dev/
)
负载均衡器。
[
OneBot
](
https://onebot.dev/
)
负载均衡器。
`onebot-lb`
对每个路由连接1个 Bot 后端,接收来自多个 app 后端的连接,并对来自 Bot 的信息或事件负载均衡,转发 app 后端要发送给 Bot 的消息。
目前支持 OneBot v11 的双向 WebSockets 作为应用后端,以及全部连接方式作为 Bot 后端。
`onebot-lb`
为高可用以及规模化的 OneBot 应用打造。
`onebot-lb`
目前支持 OneBot v11 的双向 WebSockets 作为应用后端,以及全部连接方式作为 Bot 后端。
## 配置
...
...
@@ -74,4 +76,8 @@ Docker 容器镜像位于 `git-registry.mycard.moe/3rdeye/onebot-lb`。使用时
该模式下,消息和事件会依照消息类型,机器人 ID,用户 ID 以及群号等信息进行 hash,并确定发送的目标 app 后端连接。
该模式是默认分流策略,推荐在有机器人交互的环境下使用。
\ No newline at end of file
该模式是默认分流策略,推荐在有机器人交互的环境下使用。
## LICENSE
MIT
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment