mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-03 12:20:27 +08:00
媒介可以设置发送频率/消息接收人可以设置接收消息时间段
This commit is contained in:
8
pkg/monitorconfigs/rate_config.go
Normal file
8
pkg/monitorconfigs/rate_config.go
Normal file
@@ -0,0 +1,8 @@
|
||||
// Copyright 2021 Liuxiangchao iwind.liu@gmail.com. All rights reserved.
|
||||
|
||||
package monitorconfigs
|
||||
|
||||
type RateConfig struct {
|
||||
Minutes int32 `json:"minutes"` // 周期分钟
|
||||
Count int32 `json:"count"` // 数量
|
||||
}
|
||||
Reference in New Issue
Block a user