(hook RemoteHook, waitingStrategy targetselector.WaitingStrategy)
| 27 | } |
| 28 | |
| 29 | func NewRemoteHookWithWaitingStrategy(hook RemoteHook, waitingStrategy targetselector.WaitingStrategy) Hook { |
| 30 | return &remoteHook{ |
| 31 | Hook: hook, |
| 32 | WaitingStrategy: waitingStrategy, |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | type remoteHook struct { |
| 37 | Hook RemoteHook |