client for getting mysql-router information.
- 20190715 (8.0.17 - 8.0.34 / 8.1.0)
See MySQL Router 8.0.17 and the REST API by lefred.
mysqlrouter.New("http://localhost:8080", "luis", "luis", nil)
See example and client_test.go
- HTTPS with verify
- /metadata
- /metadata/metadata_name/config
- /metadata/metadata_name/status
- /router/status
- /routes
- /routes/route_name/status
- /routes/route_name/health
- /routes/route_name/destinations
- /routes/route_name/connections
$ cd test && make local