gitlab.com/SkynetLabs/skyd@v1.6.9/skymodules/renter/hostdb/alert.go (about)

     1  package hostdb
     2  
     3  import "go.sia.tech/siad/modules"
     4  
     5  // Alerts implements the modules.Alerter interface for the hostdb. It returns
     6  // all alerts of the hostdb.
     7  func (hdb *HostDB) Alerts() (crit, err, warn, info []modules.Alert) {
     8  	return hdb.staticAlerter.Alerts()
     9  }