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
448351af
Commit
448351af
authored
Nov 19, 2021
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix readme
parent
cdf0865a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
README.md
README.md
+2
-2
config.example.yaml
config.example.yaml
+1
-1
No files found.
README.md
View file @
448351af
...
...
@@ -27,7 +27,7 @@ onebot:
## app 后端只支持正向和反向 WebSocket
## 对于每个消息或事件,负载均衡器会发给所有路由的依照策略的某一个连接。
routes
:
-
name
:
default
# 必填。路由名称。机器人连接的 ws 路径为 ws://<地址>/route
s
/<name>
-
name
:
default
# 必填。路由名称。机器人连接的 ws 路径为 ws://<地址>/route/<name>
selfId
:
'
3221204940'
# 必填。机器人 ID,和 OneBot 配置的 selfId 一致
token
:
'
token'
# 连接 token
# 分流策略,有 'broadcast' | 'random' | 'round-robin' | 'hash' 四种。
...
...
@@ -84,4 +84,4 @@ Docker 容器镜像位于 `git-registry.mycard.moe/3rdeye/onebot-lb`。使用时
## LICENSE
MIT
\ No newline at end of file
MIT
config.example.yaml
View file @
448351af
...
...
@@ -14,7 +14,7 @@ onebot:
## app 后端只支持正向和反向 WebSocket
## 对于每个消息或事件,负载均衡器会发给所有路由的依照策略的某一个连接。
routes
:
-
name
:
default
# 必填。路由名称。机器人连接的 ws 路径为 ws://<地址>/route
s
/<name>
-
name
:
default
# 必填。路由名称。机器人连接的 ws 路径为 ws://<地址>/route/<name>
selfId
:
'
3221204940'
# 必填。机器人 ID,和 OneBot 配置的 selfId 一致
token
:
'
token'
# 连接 token
# 分流策略,有 'broadcast' | 'random' | 'round-robin' | 'hash' 四种。
...
...
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