Files
jbxh-server/jobs/type.go
T

15 lines
145 B
Go

package jobs
type Job interface {
Run()
addJob() (int, error)
}
type JobsExec interface {
Exec()
}
func CallExec(e JobsExec) {
e.Exec()
}