Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigJson ¶
type ConfigJson = master.ConfigJson
type Signaling ¶
type Signaling interface { // 从master同步到slave SyncToSlave(ctx context.Context, in *UpdateVersions) (*SyncData, error) // 从slave同步到master SyncToMaster(ctx context.Context, in *SyncData) (*UpdateVersions, error) // 从master更新本地config缓存 UpdateConfigsCache(ctx context.Context, in *Region) (*Configs, error) }
func NewSignaling ¶
type UpdateVersions ¶
type UpdateVersions = master.UpdateVersions
Click to show internal directories.
Click to hide internal directories.