Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cron ¶
type Cron struct { RedisClient *redis.Client Ctx context.Context `json:"-"` EpochStart int64 `json:"epochStart"` EpochEnd int64 `json:"epochEnd"` Duration int64 `json:"duration"` Md5Hash string `json:"md5Hash"` Args []string `json:"args"` Status string `json:"status"` Pid int `json:"pid"` Error string `json:"error"` }
func (Cron) MarshalBinary ¶
MarshalBinary automatically marshals the cron object into a JSON object to be stored in Redis
func (*Cron) UnmarshalBinary ¶
UnmarshalBinary automatically unmarshals the cron object from a JSON object stored in Redis
Click to show internal directories.
Click to hide internal directories.