Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SyncToMasterLogic ¶
func NewSyncToMasterLogic ¶
func NewSyncToMasterLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SyncToMasterLogic
func (*SyncToMasterLogic) SyncToMaster ¶
func (l *SyncToMasterLogic) SyncToMaster(in *slave.SyncData) (*slave.UpdateVersions, error)
从slave同步到master
type SyncToSlaveLogic ¶
func NewSyncToSlaveLogic ¶
func NewSyncToSlaveLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SyncToSlaveLogic
func (*SyncToSlaveLogic) SyncToSlave ¶
func (l *SyncToSlaveLogic) SyncToSlave(in *slave.UpdateVersions) (*slave.SyncData, error)
从master同步到slave
type UpdateConfigsCacheLogic ¶
func NewUpdateConfigsCacheLogic ¶
func NewUpdateConfigsCacheLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateConfigsCacheLogic
func (*UpdateConfigsCacheLogic) UpdateConfigsCache ¶
从master更新本地config缓存
Click to show internal directories.
Click to hide internal directories.