Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 1.02 KB

README.md

File metadata and controls

47 lines (37 loc) · 1.02 KB

mysqlrouter-go

Build Status

client for getting mysql-router information.

Supported version

  • 20190715 (8.0.17 - 8.0.34 / 8.1.0)

Enable HTTP Server and REST API

See MySQL Router 8.0.17 and the REST API by lefred.

Usage

mysqlrouter.New("http://localhost:8080", "luis", "luis", nil)

See example and client_test.go

Supported endpoint

server

  • HTTPS with verify

cluster

  • /metadata
  • /metadata/metadata_name/config
  • /metadata/metadata_name/status

app

  • /router/status

route

  • /routes
  • /routes/route_name/status
  • /routes/route_name/health
  • /routes/route_name/destinations
  • /routes/route_name/connections

Developer

$ cd test && make local