serverlist

package
v1.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitSyncServerIPList

func InitSyncServerIPList()

InitSyncServerIPList 初始化同步服务器信息列表

func SyncServerIPList

func SyncServerIPList(newAppConfig *config.AppConfig) error

SyncServerIPList sync ip list from server then 1.update agcache 2.store in disk

Types

type SyncServerIPListComponent

type SyncServerIPListComponent struct {
}

SyncServerIPListComponent set timer for update ip list interval : 20m

func (*SyncServerIPListComponent) Start

func (s *SyncServerIPListComponent) Start()

Start 启动同步服务器列表

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL