aboutsummaryrefslogtreecommitdiffstats
path: root/libtransport/src/transport.config
blob: a21175b8d40bf8658467d1c886a849c163353542 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Configuration for io_module

io_module = {
  path = [];
  name = "forwarder_module";
};

forwarder = {
  n_threads = 1;
  
  listeners = {
    l0 = {
      local_address = "127.0.0.1";
      local_port = 33436;
    }
  };

  connectors = {
    c0 = {
      /* local_address and local_port are optional */
      local_address = "127.0.0.1";
      local_port = 33436;
      remote_address = "10.20.30.40";
      remote_port = 33436;
    }
  };
};