inflight

package
v0.0.63-rc59 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2019 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrQueueFull = errors.New("queue is full")
)

Functions

This section is empty.

Types

type Queue

type Queue struct {
	// contains filtered or unexported fields
}

func New

func New(sender func(*packet.Publish) error) *Queue

func (*Queue) Ack

func (q *Queue) Ack(p *packet.PubAck)

func (*Queue) Close

func (q *Queue) Close() error

func (*Queue) Put

func (q *Queue) Put(publish *packet.Publish)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL