code: func (c *Client) ListTargets(ctx context.Context) (list []platform.ScraperTarget, err error) {
  	list = make([]platform.ScraperTarget, 0)
  	err = c.db.View(func(tx *bolt.Tx) (err error) {
  		cur := tx.Bucket(scraperBucket).Cursor()
  		for k, v := cur.First(); k != nil; k, v = cur.Next() {
  			target := new(platform.ScraperTarget)
  			if err = json.Unmarshal(v, target); err != nil {
  				return err
  			}
  			list = append(list, *target)
  		}
  		return err
  	})
  	if err != nil {
  		return nil, &platform.Error{
  			Op:  getOp(platform.OpListTargets),
  			Err: err,
  		}
  	}
  	return list, err
  }
docs: // ListTargets will list all scrape targets.