Exemple #1
0
        public GRPCChannelPoolManager(ConsulRemoteServiceConfig config, ClientAgentOption option)
        {
            this.clientConfig      = config;
            this.ClientAgentOption = option;

            InitGrpcChannel();
        }
 public ClientAgent(ConsulRemoteServiceConfig config, ClientAgentOption option = null) : this(
         option ?? new ClientAgentOption())
 {
     ChannelPoolManager = new GRPCChannelPoolManager(config, option);
 }