woodpecker/server/worker/request.go

12 lines
220 B
Go

package worker
import (
"github.com/drone/drone/shared/model"
)
type Request struct {
User *model.User `json:"-"`
Repo *model.Repo `json:"repo"`
Commit *model.Commit `json:"commit"`
server *model.Server
}