Versions in this module Expand all Collapse all v1 v1.2.7 Sep 11, 2021 Changes in this version + const HttpMethodGet + const HttpMethodPost + const IsUsedNo + const IsUsedYES + const NotifyStatusFailed + const NotifyStatusKeyword + const NotifyStatusNo + const NotifyStatusStopped + const NotifyTypeEmail + const NotifyTypeWebhook + const ProtocolHTTP + const ProtocolShell + var HttpMethodText = map[int32]string + var IsUsedText = map[int32]string + var NotifyStatusText = map[int32]string + var NotifyTypeText = map[int32]string + var ProtocolText = map[int32]string + func NewQueryBuilder() *cronTaskRepoQueryBuilder + type CronTask struct + Command string + CreatedAt time.Time + CreatedUser string + HttpMethod int32 + Id int32 + IsUsed int32 + Name string + NotifyKeyword string + NotifyReceiverEmail string + NotifyStatus int32 + NotifyType int32 + Protocol int32 + Remark string + RetryInterval int32 + RetryTimes int32 + Spec string + Timeout int32 + UpdatedAt time.Time + UpdatedUser string + func NewModel() *CronTask + func (t *CronTask) Create(db *gorm.DB) (id int32, err error)