Documentation ¶
Index ¶
- func InitSyncServerIPList(appConfig func() config.AppConfig)
- func SyncServerIPList(appConfigFunc func() config.AppConfig) (map[string]*config.ServerInfo, error)
- func SyncServerIPListSuccessCallBack(responseBody []byte, callback http.CallBack) (o interface{}, err error)
- type SyncServerIPListComponent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitSyncServerIPList ¶
InitSyncServerIPList 初始化同步服务器信息列表
func SyncServerIPList ¶
SyncServerIPList sync ip list from server then 1.update agcache 2.store in disk
Types ¶
type SyncServerIPListComponent ¶
type SyncServerIPListComponent struct {
// contains filtered or unexported fields
}
SyncServerIPListComponent set timer for update ip list interval : 20m
func (*SyncServerIPListComponent) Start ¶
func (s *SyncServerIPListComponent) Start()
Start 启动同步服务器列表
Click to show internal directories.
Click to hide internal directories.