3 Star 3 Fork 5

GO-ADMIN/go-admin-server

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

项目简介

go-admin-server是go-admin项目的服务端程序,基于RBAC的权限模型, 集成运维管理等功能,支持Web Shell、一键部署等,基于go + gin + gorm开发。

项目源码

在线体验

go-admin-server

  • 配置文件
    • 支持使用nacos做配置中心或直接指定本地配置文件两种方式,以本地配置文件为例,启动示例:
      go-admin-server server -c ./config.example.json
      
    项目中使用viper解析配置文件,配置文件格式支持json、yaml等,配置项内容:见config/config.go
  • 启动说明
    • go-admin-server目前只支持单机部署,初次部署时,修改配置文件中mysql.autoMigrate为true,会自动创建表结构,初始图标和菜单数据在脚本ml_admin.sql中, 服务在初次启动时,会自动创建root超级账号,账号信息:
      Email:     root@example.com
      Password:  123456
      

go-admin-agent

部署在各个主机上,用于收集主机性能数据,通过rpc上报给go-admin-server服务,go-admin-server中的 服务器性能监控功能,需要使用go-admin-agent上报的数据。使用示例:

go-admin-agent -H 192.168.1.10 -p 9080 -f 5

命令行参数含义,可通过-h查看帮助。

MIT License Copyright (c) 2024 KristenGe Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

go-admin-server是go-admin项目的服务端程序,基于RBAC的权限模型,集成运维管理等功能,支持Web Shell、一键部署等,基于go + gin + gorm开发。 展开 收起
README
MIT
取消

发行版 (8)

全部
4个月前

贡献者 (1)

全部

近期动态

4个月前推送了新的提交到 demo-version 分支,6e8a0fb...93c6f30
4个月前推送了新的 v1.0.1 标签
4个月前推送了新的提交到 master 分支,b433381...676b8ad
4个月前合并了 PR #9 v1.0.1
4个月前创建了 PR #9 v1.0.1
加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/go-admin_1/go-admin-server.git
git@gitee.com:go-admin_1/go-admin-server.git
go-admin_1
go-admin-server
go-admin-server
master

搜索帮助