Categorygithub.com/taoey/iris-admin
modulepackage
0.0.0-20231014122314-f9427d055066
Repository: https://github.com/taoey/iris-admin.git
Documentation: pkg.go.dev

# 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

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author

# Variables

No description provided by the author