code: func (c *Client) IntervalByName(name string) (interval contract.Interval, err error) {
  	conn := c.Pool.Get()
  	defer conn.Close()
  
  	err = getObjectByKey(conn, models.IntervalNameKey, name, &interval)
  	return interval, err
  }
docs: // Return schedule interval by name