woodpecker-email/types.go
2015-12-11 10:40:37 +01:00

22 lines
408 B
Go

package main
import (
"github.com/drone/drone-go/drone"
)
type Params struct {
Recipients []string `json:"recipients"`
Host string `json:"host"`
Port int `json:"port"`
From string `json:"from"`
Username string `json:"username"`
Password string `json:"password"`
}
type Context struct {
System drone.System
Repo drone.Repo
Build drone.Build
Vargs Params
}