func GetStatus() map[string]interface{} {
	status := make(map[string]interface{})

	metricsJSON := []byte(expvar.Get("snmp_traps").String())
	metrics := make(map[string]interface{})
	json.Unmarshal(metricsJSON, &metrics) //nolint:errcheck
	status["metrics"] = metrics

	if startError != nil {
		status["error"] = startError.Error()
	}

	return status
}
// GetStatus returns key-value data for use in status reporting of the traps server.
GetStatus returns key-value data for use in status reporting of the traps server.
// GetStatus returns key - value data for use in status reporting of the traps server .
func GetStatus() map[string]interface{} {
	status := make(map[string]interface{})
	metricsJSON := []byte(expvar.Get("snmp_traps").String())
	metrics := make(map[string]interface{})
	json.Unmarshal(metricsJSON, &metrics) 
	status["metrics"] = metrics
	if startError != nil {
		status["error"] = startError.Error()
	}
	return status
}
func GetStatus ( ) map [ string ] interface { } { status := make ( map [ string ] interface { } ) metricsJSON := [ ] byte ( expvar . Get ( " " ) . String ( ) ) metrics := make ( map [ string ] interface { } ) json . Unmarshal ( metricsJSON , & metrics ) status [ " " ] = metrics if startError != nil { status [ " " ] = startError . Error ( ) } return status }
GetStatus returns key-value data for use in status reporting of the traps server.
GetStatus returns key - value data for use in status reporting of the traps server .
//nolint:errcheck