func makeWatcherAPICaller(caller base.APICaller, facadeName, watcherId string) watcherAPICall {
	bestVersion := caller.BestFacadeVersion(facadeName)
	return func(request string, result interface{}) error {
		return caller.APICall(facadeName, bestVersion,
			watcherId, request, nil, &result)
	}
}
// makeWatcherAPICaller creates a watcherAPICall function for a given facade name
// and watcherId.
makeWatcherAPICaller creates a watcherAPICall function for a given facade name
and watcherId.
// makeWatcherAPICaller creates a watcherAPICall function for a given facade name // and watcherId .
func makeWatcherAPICaller(caller base.APICaller, facadeName, watcherId string) watcherAPICall {
	bestVersion := caller.BestFacadeVersion(facadeName)
	return func(request string, result interface{}) error {
		return caller.APICall(facadeName, bestVersion,
			watcherId, request, nil, &result)
	}
}
func makeWatcherAPICaller ( caller base . APICaller , facadeName , watcherId string ) watcherAPICall { bestVersion := caller . BestFacadeVersion ( facadeName ) return func ( request string , result interface { } ) error { return caller . APICall ( facadeName , bestVersion , watcherId , request , nil , & result ) } }
makeWatcherAPICaller creates a watcherAPICall function for a given facade name
and watcherId.
makeWatcherAPICaller creates a watcherAPICall function for a given facade name and watcherId .