Versions in this module Expand all Collapse all v5 v5.3.17 Mar 1, 2025 v5.3.16 Mar 1, 2025 v5.3.15 Mar 1, 2025 v5.3.14 Feb 5, 2025 Changes in this version + func ReginSub(mission *Mission, handle func()) + func ReginWait(mission *Mission, nextAt time.Time) + func Run() + type ArgsGetMissionList struct + OrgID int64 + Pages CoreSQL2.ArgsPages + Search string + type FieldsMission struct + AllCount int64 + ID int64 + Location string + Mark string + Name string + NextTime string + NowTip string + OrgID int64 + PauseAt time.Time + RunAllSec int64 + RunCount int64 + StartAt time.Time + StopAt time.Time + UpdateAt time.Time + func GetMissionByMark(orgID int64, mark string) (data FieldsMission) + func GetMissionList(args *ArgsGetMissionList) (dataList []FieldsMission, dataCount int64, err error) + type Mission struct + Bind MissionBind + Mark string + Name string + NextTime string + OrgID int64 + func (t *Mission) Do() + func (t *Mission) Finish() + func (t *Mission) IsStop() bool + func (t *Mission) Pause() + func (t *Mission) Start(nowTip string, location string, allCount int64) + func (t *Mission) Stop() + func (t *Mission) Update(nowTip string, location string, runCount int64) + func (t *Mission) UpdateAddTotal(allCount int64) + func (t *Mission) UpdateBlockTime(sec int) + func (t *Mission) UpdateTotal(allCount int64) + type MissionBind struct + NatsCode string + NatsMsg string + func (t *MissionBind) Finish() + func (t *MissionBind) IsStart() bool + func (t *MissionBind) NeedStart() bool + func (t *MissionBind) Start() + func (t *MissionBind) UpdateNextAt(nextAt time.Time) + func (t *MissionBind) UpdateNextAtFutureDay(day, hour, minute, sec int) + func (t *MissionBind) UpdateNextAtFutureHour(hour, minute, sec int) + func (t *MissionBind) UpdateNextAtFutureMonth(month, day, hour, minute, sec int) + func (t *MissionBind) UpdateNextAtFutureSec(sec int)