Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the ProxySQL admin client
func (*Client) GetServers ¶
func (c *Client) GetServers(db *sql.DB, settings config.ProxySQLConfigurationSettings) (servers []*MySQLConnectionPoolServer, err error)
GetServers returns a list of MySQLConnectionPoolServers with 'ONLINE' or 'SHUNNED_REPLICATION_LAG' status, based on hostgroup ID
type MySQLConnectionPoolServer ¶
MySQLConnectionPoolServer represents a row in the stats_mysql_connection_pool table
func (*MySQLConnectionPoolServer) Address ¶
func (ms *MySQLConnectionPoolServer) Address() string
Address returns a string of the hostname/port of a server
Click to show internal directories.
Click to hide internal directories.