messagebus

package
v0.3.13 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2017 License: ISC Imports: 3 Imported by: 0

Documentation

Overview

a queue system to transfer transactions

Index

Constants

This section is empty.

Variables

View Source
var Bus busses

the instance

Functions

This section is empty.

Types

type Message

type Message struct {
	Command    string   // type of packed data
	Parameters [][]byte // array of parameters
}

message to put into a queue

type Queue added in v0.2.0

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

structure of an individual queue

func (*Queue) Chan added in v0.2.0

func (queue *Queue) Chan() <-chan Message

channel to read from

func (*Queue) Send added in v0.2.0

func (queue *Queue) Send(command string, parameters ...[]byte)

send a message to a queue

Jump to

Keyboard shortcuts

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