Documentation ¶
Index ¶
Constants ¶
View Source
const TimeOut = 60
Variables ¶
This section is empty.
Functions ¶
func StartSync ¶
func StartSync(syncWorker *SyncWorker)
Types ¶
type CeleryClient ¶
type CeleryClient struct {
// contains filtered or unexported fields
}
func InitSTLClient ¶
func InitSTLClient(addr string, certFile string) *CeleryClient
init STL client Pool
func (*CeleryClient) Close ¶
func (cli *CeleryClient) Close()
type SyncWorker ¶
type SyncWorker struct {
// contains filtered or unexported fields
}
func (*SyncWorker) Init ¶
func (this *SyncWorker) Init(fs ...func())
func (*SyncWorker) RegisterWrokers ¶
func (this *SyncWorker) RegisterWrokers(fs ...func())
Click to show internal directories.
Click to hide internal directories.