summaryrefslogtreecommitdiff
path: root/plugins/jobs/brokers/ephemeral/entry.go
blob: 3cedec3ef71d230183a5d2f0e92757d9a17db138 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package ephemeral

type entry struct {
	id       string
	priority uint64
}

func (e *entry) ID() string {
	return e.id
}

func (e *entry) Priority() uint64 {
	return e.priority
}

func (e *entry) Ask() {
	// no-op
}

func (e *entry) Nack() {
	// no-op
}

func (e *entry) Payload() []byte {
	panic("implement me")
}