Documentation ¶
Index ¶
- type MySQLService
- func (s *MySQLService) MigrateAllMasterSchema(ctx context.Context, req *migrationproto.MigrateAllMasterSchemaRequest) (*migrationproto.MigrateAllMasterSchemaResponse, error)
- func (s *MySQLService) Register(server *grpc.Server)
- func (s *MySQLService) RollbackMasterSchema(ctx context.Context, req *migrationproto.RollbackMasterSchemaRequest) (*migrationproto.RollbackMasterSchemaResponse, error)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MySQLService ¶
type MySQLService struct {
// contains filtered or unexported fields
}
func NewMySQLService ¶
func NewMySQLService(migrateClientFactory migrate.ClientFactory, opts ...Option) *MySQLService
func (*MySQLService) MigrateAllMasterSchema ¶
func (s *MySQLService) MigrateAllMasterSchema( ctx context.Context, req *migrationproto.MigrateAllMasterSchemaRequest, ) (*migrationproto.MigrateAllMasterSchemaResponse, error)
func (*MySQLService) Register ¶
func (s *MySQLService) Register(server *grpc.Server)
func (*MySQLService) RollbackMasterSchema ¶
func (s *MySQLService) RollbackMasterSchema( ctx context.Context, req *migrationproto.RollbackMasterSchemaRequest, ) (*migrationproto.RollbackMasterSchemaResponse, error)
Click to show internal directories.
Click to hide internal directories.