1 Star 0 Fork 0

zhangjungang/beats

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
config.go 535 Bytes
一键复制 编辑 原始数据 按行查看 历史
// Config is put into a different package to prevent cyclic imports in case
// it is needed in several locations
package config
import "github.com/elastic/beats/libbeat/common"
type Config struct {
// Modules is a list of module specific configuration data.
Monitors []*common.Config `config:"monitors" validate:"required"`
Scheduler Scheduler `config:"scheduler"`
}
type Scheduler struct {
Limit uint `config:"limit" validate:"min=0"`
Location string `config:"location"`
}
var DefaultConfig = Config{}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhangjungang/beats.git
git@gitee.com:zhangjungang/beats.git
zhangjungang
beats
beats
v5.2.2

搜索帮助

0d507c66 1850385 C8b1a773 1850385