woodpecker/server/worker/work.go

16 lines
217 B
Go
Raw Normal View History

2014-09-29 01:36:24 +00:00
package worker
import "github.com/drone/drone/shared/model"
type Work struct {
2014-09-29 03:21:02 +00:00
Host string
2014-09-29 01:36:24 +00:00
User *model.User
Repo *model.Repo
Commit *model.Commit
}
type Assignment struct {
Work *Work
Worker Worker
}