【文件属性】:
文件名称:frontend:纳米Web前端
文件大小:2.36MB
文件格式:ZIP
更新时间:2021-05-21 09:45:01
Go
自述文件
概述
FrontEnd是Nano用户的门户网站。 它承载基于Core模块的REST APIHTML5网页,并且还为Web门户提供身份验证和用户管理。
您可以修改路径“ resource”中的页面以满足您的需要,甚至可以使用REST API编写一个全新的模块来替换该模块。
二进制版本在找到
查看“更多详细信息
官方网站: :
REST API: :
建造
# git clone https: //github.com/project-nano/frontend.git
# cd frontend
# go build - o frontend - i - ldflags = "-w -s"
命令行
所有的Nano模块都提供命令行界面,其调用方式如下:
<模块名称> [开始| 停止| 状态| 停止]
start:启动模块服务,启动失败时输出错误消息或版本信息。
停
【文件预览】:
frontend-master
----go.mod(810B)
----log_manager.go(3KB)
----channel_handler.go(6KB)
----go.sum(3KB)
----daemon.go(4KB)
----web_root()
--------manifest.json(332B)
--------index.html(2KB)
--------asset-manifest.json(2KB)
--------service-worker.js(1KB)
--------favicon.ico(9KB)
--------apple-icon.png(2KB)
--------precache-manifest.f9bc75adcb5c0dff8eec578839242f95.js(1KB)
--------static()
----session_manager.go(5KB)
----frontend_service.go(56KB)
----doc()
--------rest_api.apib(70KB)
----log_agent.go(11KB)
----LICENSE(1KB)
----user_manager.go(30KB)
----README.md(2KB)
----channel_manager.go(4KB)
----.gitignore(225B)
----CHANGELOG.md(6KB)