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

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