示例#1
0
 public IServiceSubscriber CreateSubscriber(string serviceName, ConsulSubscriberOptions consulOptions, bool watch = false)
 {
     return(new ConsulServiceSubscriber(_consulClient, serviceName, consulOptions, watch));
 }
 public ConsulServiceSubscriber(IConsulClient client, string serviceName, ConsulSubscriberOptions consulOptions,
                                bool watch) : this(client, serviceName, consulOptions.Tags, consulOptions.PassingOnly, watch)
 {
 }