code: func (c *CheckTTL) SetStatus(status, output string) {
  	c.Logger.Printf("[DEBUG] agent: Check %q status is now %s", c.CheckID, status)
  	c.Notify.UpdateCheck(c.CheckID, status, output)
  
  	// Store the last output so we can retain it if the TTL expires.
  	c.lastOutputLock.Lock()
  	c.lastOutput = output
  	c.lastOutputLock.Unlock()
  
  	c.timer.Reset(c.TTL)
  }
docs: // SetStatus is used to update the status of the check,
  // and to renew the TTL. If expired, TTL is restarted.