code: func GetMethodSpec(client, method string) (spec *MethodSpec) {
  
  	// Default spec for all clients and methods
  	//
  	//   - Never panic
  	//   - Never return redisError
  	//   - Never return nil/zerovalue for any non-error result
  
  	defspec := &MethodSpec{
  		NoPanics:         true,
  		NoRedisErr:       true,
  		NoNilResultValue: true,
  		NoNilFuture:      true,
  	}
  
  	// Allow client specific mods to the default spec, as required.
  	//
  	switch client {
  	case "Client":
  		spec = syncClientMethodSpec(defspec, method)
  	case "AsyncClient":
  		spec = asyncClientMethodSpec(defspec, method)
  	case "PubSubClient":
  		spec = pubsubClientMethodSpec(defspec, method)
  	}
  
  	return
  }
docs: // For use by the generated tests.
  //
  // Get MethodSpec for the given client type (name) and Method.
  //