Documentation ¶
Index ¶
- Constants
- func ContextRet(ctx context.Context) gilix.RET
- func CreateSyncerGroup(ctx context.Context, syncers ...**Syncer)
- func TickWorker(ctx context.Context, d time.Duration, fworker func() TickWorkerMode, ...)
- func WaitReleaseSyncerGroup(act SyncerWaitMode, syncers ...*Syncer)
- type Proct
- type ProctCb
- type ProctCmd
- type Syncer
- type SyncerWaitMode
- type Sysrw
- type Task
- type TickWorkerMode
- type Worker
- type Zapt
- func (zapt *Zapt) DPanicf(template string, args ...interface{})
- func (zapt *Zapt) Debugf(template string, args ...interface{})
- func (zapt *Zapt) Errorf(template string, args ...interface{})
- func (zapt *Zapt) Fatalf(template string, args ...interface{})
- func (zapt *Zapt) Infof(template string, args ...interface{})
- func (zapt *Zapt) Panicf(template string, args ...interface{})
- func (zapt *Zapt) Warnf(template string, args ...interface{})
- type ZaptDayMode
Constants ¶
View Source
const ( SyncerWaitModeCancel = 1 SyncerWaitModeIdle = 2 SyncerWaitModeAny = 3 )
View Source
const ( TickWorkerModeQuit = 1 TickWorkerModeNextTick = 2 TickWorkerModeContinue = 3 )
View Source
const ( FilesOfDay = 0 DirsOfDay = 1 )
Variables ¶
This section is empty.
Functions ¶
func CreateSyncerGroup ¶
func TickWorker ¶
func WaitReleaseSyncerGroup ¶
func WaitReleaseSyncerGroup(act SyncerWaitMode, syncers ...*Syncer)
Types ¶
type Proct ¶ added in v0.1.3
type Proct struct {
// contains filtered or unexported fields
}
type ProctCmd ¶ added in v0.1.3
type Syncer ¶
type Syncer struct {
// contains filtered or unexported fields
}
func CreateSyncer ¶
func CreateSyncerWithSig ¶
func (*Syncer) DeriveSyncer ¶
func (*Syncer) WaitRelease ¶
func (syncer *Syncer) WaitRelease(act SyncerWaitMode)
type SyncerWaitMode ¶ added in v0.1.4
type SyncerWaitMode int
type Task ¶
type Task struct {
// contains filtered or unexported fields
}
func CreateTask ¶
func CreateTaskStart ¶
type TickWorkerMode ¶ added in v0.1.6
type TickWorkerMode int
type ZaptDayMode ¶
type ZaptDayMode int
Click to show internal directories.
Click to hide internal directories.