Files
fn-serverless/vendor/github.com/funcy/functions_go/new_task.go
2017-06-30 11:22:56 -07:00

11 lines
331 B
Go

package functions
type NewTask struct {
// Name of Docker image to use. This is optional and can be used to override the image defined at the group level.
Image string `json:"image,omitempty"`
// Payload for the task. This is what you pass into each task to make it do something.
Payload string `json:"payload,omitempty"`
}