Documentation ¶
Index ¶
- type Scheduler
- func (s *Scheduler[T]) DstFirst(c *gin.Context) (ginx.Result, error)
- func (s *Scheduler[T]) DstOnly(c *gin.Context) (ginx.Result, error)
- func (s *Scheduler[T]) RegisterRoutes(server *gin.RouterGroup)
- func (s *Scheduler[T]) SrcFirst(c *gin.Context) (ginx.Result, error)
- func (s *Scheduler[T]) SrcOnly(c *gin.Context) (ginx.Result, error)
- func (s *Scheduler[T]) StartFullValidation(c *gin.Context) (ginx.Result, error)
- func (s *Scheduler[T]) StartIncrementValidation(c *gin.Context, req StartIncrRequest) (ginx.Result, error)
- func (s *Scheduler[T]) StopFullValidation(c *gin.Context) (ginx.Result, error)
- func (s *Scheduler[T]) StopIncrementValidation(c *gin.Context) (ginx.Result, error)
- type StartIncrRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scheduler ¶
Scheduler 用来统一管理整个迁移过程 它不是必须的,你可以理解为这是为了方便用户操作(和你理解)而引入的。
func NewScheduler ¶
func (*Scheduler[T]) RegisterRoutes ¶
func (s *Scheduler[T]) RegisterRoutes(server *gin.RouterGroup)
func (*Scheduler[T]) StartFullValidation ¶
StartFullValidation 全量校验
func (*Scheduler[T]) StartIncrementValidation ¶
func (*Scheduler[T]) StopFullValidation ¶
type StartIncrRequest ¶
Click to show internal directories.
Click to hide internal directories.