Files
nats-server/server
Ivan Kozlovic 5478eaf01e Added /gatewayz endpoint
Such endpoint will list the gateway/cluster name, address and port
then list of outbound/inbound connections.
For each remote gateway there will be at most one outbound connection.
There can be 0 or more inbound connections for the same remote
gateway.

For each of these outbound/inbound connection, the connection info
similar to Connz is reported. Optionally, one can include the
interest mode/stats for each account.

Here are possible options:

* No specific options

http://host:port/gatewayz

* Limit to specific remote gateway, say name "B":

http://host:port/gatewayz/gw_name=B

* Include accounts (default limit to 1024 accounts)

http://host:port/gatewayz/accs=1

* Specific limit, say 200 (note accs=1 in this case is optional)

http://host:port/gatewayz/accs=1&accs_limit=200

* Specific account, say "acc_1". Note that accs=1 is not required then

http://host:port/gatewayz/acc_name=acc_1

* Above options can be mixed: specific remote gateway (B), with 100
  accounts reported

http://host:port/gatewayz/gw_name=B&accs_limit=200

Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
2019-05-28 12:41:09 -06:00
..
2019-05-06 15:41:38 -07:00
2019-05-21 11:59:34 -07:00
2019-05-10 15:11:30 -07:00
2019-05-21 15:12:31 -07:00
2019-05-10 15:11:30 -07:00
2019-05-26 17:17:08 -06:00
2019-05-06 15:41:38 -07:00
2019-05-28 12:41:09 -06:00
2019-05-28 12:41:09 -06:00
2019-05-24 09:53:35 -06:00
2019-05-06 15:15:11 -07:00
2019-05-06 15:41:38 -07:00
2019-05-28 12:41:09 -06:00
2019-05-28 12:41:09 -06:00
2018-12-06 15:09:14 -08:00
2019-05-28 12:41:09 -06:00
2019-02-04 17:07:49 -08:00
2019-05-10 15:11:30 -07:00
2019-05-10 15:11:30 -07:00
2018-10-06 14:06:14 -07:00
2018-10-06 14:04:14 -07:00
2019-05-24 09:53:35 -06:00
2019-05-28 12:41:09 -06:00
2018-03-15 22:31:07 -07:00
2018-03-15 22:31:07 -07:00
2019-05-06 15:41:38 -07:00
2019-01-18 10:54:04 +08:00