code: func (mc MongoClient) RegistrationByName(name string) (contract.Registration, error) {
  	reg, err := mc.registrationByName(name)
  	if err != nil {
  		return contract.Registration{}, err
  	}
  	return reg.ToContract(), nil
  }
docs: // Get a registration by name
  // UnexpectedError - problem getting in database
  // NotFound - no registration with the name was found