code: func (c *Client) Registrations() (r []contract.Registration, err error) {
  	conn := c.Pool.Get()
  	defer conn.Close()
  
  	objects, err := getObjectsByRange(conn, db.ExportCollection, 0, -1)
  	if err != nil {
  		return nil, err
  	}
  
  	r = make([]contract.Registration, len(objects))
  	for i, object := range objects {
  		err = json.Unmarshal(object, &r[i])
  		if err != nil {
  			return nil, err
  		}
  	}
  
  	return r, err
  }
docs: // ********************** REGISTRATION FUNCTIONS *****************************
  // Return all the registrations
  // UnexpectedError - failed to retrieve registrations from the database