Documentation ¶ Index ¶ Constants func NewManager(properties engines.Properties) (engines.DBManager, error) type Config func NewConfig(properties map[string]string) (*Config, error) type Manager func (mgr *Manager) GetReplcaRole(ctx context.Context) (string, error) Constants ¶ View Source const ( PolardbXServiceType = "polardbx" ) Variables ¶ This section is empty. Functions ¶ func NewManager ¶ func NewManager(properties engines.Properties) (engines.DBManager, error) Types ¶ type Config ¶ type Config struct { *mysql.Config } func NewConfig ¶ func NewConfig(properties map[string]string) (*Config, error) type Manager ¶ type Manager struct { mysql.Manager } func (*Manager) GetReplcaRole ¶ func (mgr *Manager) GetReplcaRole(ctx context.Context) (string, error) Source Files ¶ View all Source files config.go get_replica_role.go manager.go Click to show internal directories. Click to hide internal directories.