mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2025-12-17 13:01:12 +00:00
支持local_config启动 添加注册表description字段 (#13)
Closes #11 * Update README and MQTTClient for installation instructions and code improvements * feat: 支持local_config启动 add: 增加对crt path的说明,为传入config.py的相对路径 move: web component * add: registry description --------- Co-authored-by: Harvey Que <Q-Query@outlook.com>
This commit is contained in:
18
unilabos/app/web/__init__.py
Normal file
18
unilabos/app/web/__init__.py
Normal file
@@ -0,0 +1,18 @@
|
||||
"""
|
||||
Web UI 模块
|
||||
|
||||
提供了UniLab系统的Web界面功能
|
||||
"""
|
||||
|
||||
from unilabos.app.web.pages import setup_web_pages
|
||||
from unilabos.app.web.server import setup_server, start_server
|
||||
from unilabos.app.web.client import http_client
|
||||
from unilabos.app.web.api import setup_api_routes
|
||||
|
||||
__all__ = [
|
||||
"setup_web_pages", # 设置Web页面
|
||||
"setup_server", # 设置服务器
|
||||
"start_server", # 启动服务器
|
||||
"http_client", # HTTP客户端
|
||||
"setup_api_routes", # 设置API路由
|
||||
]
|
||||
Reference in New Issue
Block a user