aboutsummaryrefslogtreecommitdiffhomepage
path: root/model/job.go
blob: 9f9167bc15fe0ea3176a46ddc5b8a458eb3e20b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2017 Frédéric Guillot. All rights reserved.
// Use of this source code is governed by the Apache 2.0
// license that can be found in the LICENSE file.

package model

// Job represents a payload sent to the processing queue.
type Job struct {
	UserID int64
	FeedID int64
}

// JobList represents a list of jobs.
type JobList []Job