1 Star 0 Fork 0

sqos/beats

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
config.go 724 Bytes
Copy Edit Raw Blame History
urso authored 2016-03-22 20:43 +08:00 . Update ucfg to v0.1.1
package amqp
import (
"github.com/elastic/beats/packetbeat/config"
"github.com/elastic/beats/packetbeat/protos"
)
type amqpConfig struct {
config.ProtocolCommon `config:",inline"`
ParseHeaders bool `config:"parse_headers"`
ParseArguments bool `config:"parse_arguments"`
MaxBodyLength int `config:"max_body_length"`
HideConnectionInformation bool `config:"hide_connection_information"`
}
var (
defaultConfig = amqpConfig{
ProtocolCommon: config.ProtocolCommon{
TransactionTimeout: protos.DefaultTransactionExpiration,
},
ParseHeaders: true,
ParseArguments: true,
MaxBodyLength: 1000,
HideConnectionInformation: true,
}
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/sqos/beats.git
git@gitee.com:sqos/beats.git
sqos
beats
beats
v5.4.3

Search