type Config struct {
// The host:port address of the SNMP trap server Addr string// SNMP Community Community string// Retries count for traps Retries uint
}
type Data struct {
Oid string `yaml:"oid,omitempty" json:"oid,omitempty"`
Type string `yaml:"type,omitempty" json:"type,omitempty"`
Value string `yaml:"value,omitempty" json:"value,omitempty"`
}