File: confirmation.go

package info (click to toggle)
golang-github-neowaylabs-wabbit 0.0~git20180530.0.d089945-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, buster-backports
  • size: 268 kB
  • sloc: sh: 24; makefile: 4
file content (14 lines) | stat: -rw-r--r-- 205 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package server

type Confirmation struct {
	deliveryTag uint64
	ack         bool
}

func (c Confirmation) Ack() bool {
	return c.ack
}

func (c Confirmation) DeliveryTag() uint64 {
	return c.deliveryTag
}