一个智能家居私有化管理系统,mqtt的消息中间件使用emqx
项目希望部署简单依赖少所以不考虑使用kafka和InfluxDB,可以考虑插件化添加
- It supports go 1.19+
平均13000条/秒的速率,不使用exhook时6-7w条每秒的速率
go mod tidy
go run main.go start -c ./ -l ./logs
使用gox对项目进行构建分包
gox -os "linux windows darwin" -arch "amd64 arm arm64" -verbose -output "./deploy/build/{{.OS}}_{{.Arch}}/linktree_ctl"