queue

package
v0.3.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2016 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Queue

type Queue struct {
	Name          string
	InputChannel  chan *message.Message
	OutputChannel chan *message.Message
	// contains filtered or unexported fields
}

Queue represents an in-memory queue, using a slice-basedgit stat data structure, and channel io

func NewQueue

func NewQueue(givenName string) *Queue

NewQueue create a new queue, with given name

func (*Queue) PendingMessages

func (q *Queue) PendingMessages() int

Jump to

Keyboard shortcuts

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