25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 

14 satır
847 B

  1. package model
  2. type Settings struct {
  3. ID int `gorm:"primaryKey"` // this is always 1
  4. CurrentAlgorithm string `json:"current_algorithm" mapstructure:"current_algorithm"`
  5. LocationConfidence int64 `json:"location_confidence" mapstructure:"location_confidence"`
  6. LastSeenThreshold int64 `json:"last_seen_threshold" mapstructure:"last_seen_threshold"`
  7. BeaconMetricSize int `json:"beacon_metric_size" mapstructure:"beacon_metric_size"`
  8. HASendInterval int `json:"HA_send_interval" mapstructure:"HA_send_interval"`
  9. HASendChangesOnly bool `json:"HA_send_changes_only" mapstructure:"HA_send_changes_only"`
  10. RSSIEnforceThreshold bool `json:"RSSI_enforce_threshold" mapstructure:"RSSI_enforce_threshold"`
  11. RSSIMinThreshold int64 `json:"RSSI_min_threshold" mapstructure:"RSSI_min_threshold"`
  12. }