Documentation ¶ Index ¶ func VerifyState(State string) bool func VerifyType(Type string) bool type Job func New(Type string) *Job Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func VerifyState ¶ func VerifyState(State string) bool verify the state string func VerifyType ¶ func VerifyType(Type string) bool verify the type string Types ¶ type Job ¶ type Job struct { // type of job : upload / export / teams Type string `redis:"type"` // state of job : start / pause / kill State string `redis:"state"` } store job metadata func New ¶ func New(Type string) *Job returns a new job Source Files ¶ View all Source files main.go Click to show internal directories. Click to hide internal directories.