command
module
Version:
v0.0.0-...-f9427d0
Opens a new window with list of versions in this module.
Published: Oct 14, 2023
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
iris-admin
IRIS(go语言web框架)脚手架项目
功能介绍
- 权限控制
- mongoDB操作
- redis 操作
- redis 集群连接
- Mysql 操作
- 日志系统
- 定时任务
- 文件上传
- csv文件处理
- 配置文件读取
- 令牌桶限流
- 开发调试热加载
- 日常开发utils集成
- 邮件发送模块
- 权限管理
- 登录校验
使用说明
1.项目名配置
在go.mod 中修改第一行中的项目名称,再使用ctrl+shift+r(goland环境下)进行全局替换
相关主要依赖库
- Mongo连接:gopkg.in/mgo.v2
- config配置读取 :github.com/olebedev/config
开发模式热加载
使用:gowatch进行程序热部署
安装:go get github.com/silenceper/gowatch
安装完成之后,直接使用gowatch
命令即可
gowatch -p ./main.go
注释插件
Goanno
配置prometheus
docker run
-p 8797:9090
-v /root/soft/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
prom/prometheus
docker run -d --name grafana -p 8795:3000 grafana/grafana grafana
120.46.173.6:8795
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.