59eb34976a
iotlcm-admin-svr:管理后台服务。 - Go module:iotlcm → git.5iot.com/iotlcm-public/iotlcm-admin-svr(729 文件) - 凭据与地址脱敏:JWT signingKey(含代码里的 MustGet 默认值)、 MySQL DSN、Redis 口令、告警邮件发件人邮箱全部改为占位; 私网 IP → 文档地址段;库名 xiujie_admin → iotlcm - 真实手机号/邮箱 → 合法 11 位编造号 / example.com - 移除内部资产:CI 触发器、过时 DDL(sql/db_iotlcm.sql)、 私有依赖 go get 行、明文 registry 登录口令 - 启动 banner 统一 IOTLCM 方块字 + 社区惯例署名 - Dockerfile 改用公共基础镜像 - 拼错的 RADEME.md → README.md,README 重写 - 需要真实数据库的用例改为可用 IOTLCM_TEST_WITH_DB=1 显式启用 - 补 Apache-2.0 LICENSE,LF 行尾 + .gitattributes 数据库 schema 不随本仓发布(生产 DDL 已过时),README 已说明。
100 lines
4.2 KiB
Modula-2
100 lines
4.2 KiB
Modula-2
module git.5iot.com/iotlcm-public/iotlcm-admin-svr
|
|
|
|
go 1.23.0
|
|
|
|
toolchain go1.23.5
|
|
|
|
require (
|
|
github.com/dromara/carbon/v2 v2.6.0
|
|
github.com/gogf/gf/contrib/drivers/mysql/v2 v2.9.0
|
|
github.com/gogf/gf/contrib/drivers/sqlite/v2 v2.9.6
|
|
github.com/gogf/gf/contrib/nosql/redis/v2 v2.9.0
|
|
github.com/gogf/gf/v2 v2.9.6
|
|
github.com/golang-jwt/jwt/v4 v4.5.2
|
|
github.com/google/uuid v1.6.0
|
|
github.com/gorilla/websocket v1.5.3
|
|
github.com/mileusna/useragent v1.3.5
|
|
github.com/mojocn/base64Captcha v1.3.8
|
|
github.com/olekukonko/tablewriter v1.1.0
|
|
github.com/pkg/errors v0.9.1
|
|
github.com/rabbitmq/amqp091-go v1.10.0
|
|
github.com/redis/go-redis/v9 v9.7.0
|
|
github.com/robfig/cron/v3 v3.0.1
|
|
github.com/shirou/gopsutil/v3 v3.24.5
|
|
github.com/smartwalle/alipay/v3 v3.2.29
|
|
github.com/xiujiecn/asynq v0.25.10
|
|
github.com/xuri/excelize/v2 v2.9.0
|
|
go.opentelemetry.io/otel v1.38.0
|
|
golang.org/x/exp v0.0.0-20250305212735-054e65f0b394
|
|
golang.org/x/net v0.40.0
|
|
golang.org/x/tools v0.31.0
|
|
gorm.io/gorm v1.25.12
|
|
)
|
|
|
|
require (
|
|
github.com/BurntSushi/toml v1.5.0 // indirect
|
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
|
github.com/clbanning/mxj/v2 v2.7.0 // indirect
|
|
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/emirpasic/gods/v2 v2.0.0-alpha // indirect
|
|
github.com/fatih/color v1.18.0 // indirect
|
|
github.com/fsnotify/fsnotify v1.9.0 // indirect
|
|
github.com/glebarez/go-sqlite v1.21.2 // indirect
|
|
github.com/go-logr/logr v1.4.3 // indirect
|
|
github.com/go-logr/stdr v1.2.2 // indirect
|
|
github.com/go-ole/go-ole v1.2.6 // indirect
|
|
github.com/go-sql-driver/mysql v1.7.1 // indirect
|
|
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 // indirect
|
|
github.com/grokify/html-strip-tags-go v0.1.0 // indirect
|
|
github.com/jinzhu/inflection v1.0.0 // indirect
|
|
github.com/jinzhu/now v1.1.5 // indirect
|
|
github.com/json-iterator/go v1.1.12 // indirect
|
|
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
|
|
github.com/magiconair/properties v1.8.10 // indirect
|
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/mattn/go-runewidth v0.0.16 // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 // indirect
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
|
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 // indirect
|
|
github.com/olekukonko/errors v1.1.0 // indirect
|
|
github.com/olekukonko/ll v0.0.9 // indirect
|
|
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
github.com/richardlehane/mscfb v1.0.4 // indirect
|
|
github.com/richardlehane/msoleps v1.0.4 // indirect
|
|
github.com/rivo/uniseg v0.4.7 // indirect
|
|
github.com/shoenig/go-m1cpu v0.1.6 // indirect
|
|
github.com/smartwalle/ncrypto v1.0.4 // indirect
|
|
github.com/smartwalle/ngx v1.1.0 // indirect
|
|
github.com/smartwalle/nsign v1.0.9 // indirect
|
|
github.com/spf13/cast v1.7.0 // indirect
|
|
github.com/taosdata/driver-go/v3 v3.8.0 // indirect
|
|
github.com/tealeg/xlsx v1.0.5 // indirect
|
|
github.com/tklauser/go-sysconf v0.3.12 // indirect
|
|
github.com/tklauser/numcpus v0.6.1 // indirect
|
|
github.com/xuri/efp v0.0.0-20240408161823-9ad904a10d6d // indirect
|
|
github.com/xuri/nfp v0.0.0-20240318013403-ab9948c2c4a7 // indirect
|
|
github.com/yusufpapurcu/wmi v1.2.4 // indirect
|
|
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
|
|
go.opentelemetry.io/otel/metric v1.38.0 // indirect
|
|
go.opentelemetry.io/otel/sdk v1.38.0 // indirect
|
|
go.opentelemetry.io/otel/trace v1.38.0 // indirect
|
|
golang.org/x/crypto v0.38.0 // indirect
|
|
golang.org/x/image v0.23.0 // indirect
|
|
golang.org/x/mod v0.24.0 // indirect
|
|
golang.org/x/sync v0.14.0 // indirect
|
|
golang.org/x/sys v0.35.0 // indirect
|
|
golang.org/x/text v0.25.0 // indirect
|
|
golang.org/x/time v0.8.0 // indirect
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 // indirect
|
|
google.golang.org/grpc v1.64.1 // indirect
|
|
google.golang.org/protobuf v1.36.6 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
modernc.org/libc v1.22.5 // indirect
|
|
modernc.org/mathutil v1.5.0 // indirect
|
|
modernc.org/memory v1.5.0 // indirect
|
|
modernc.org/sqlite v1.23.1 // indirect
|
|
)
|