1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-18 08:26:45 +02:00
woodpecker/server/worker/work.go
2014-10-12 20:02:54 -07:00

16 lines
286 B
Go

package worker
import "github.com/drone/drone/shared/model"
type Work struct {
Host string `json:"host"`
User *model.User `json:"user"`
Repo *model.Repo `json:"repo"`
Commit *model.Commit `json:"commit"`
}
type Assignment struct {
Work *Work
Worker Worker
}