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 (15 lines) | stat: -rw-r--r-- 246 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package amqp

import "github.com/streadway/amqp"

type Confirmation struct {
	amqp.Confirmation
}

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

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