publish

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2016 License: Apache-2.0 Imports: 6 Imported by: 1,193

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChanTransactions

type ChanTransactions struct {
	Channel chan common.MapStr
}

func (*ChanTransactions) PublishTransaction

func (t *ChanTransactions) PublishTransaction(event common.MapStr) bool

type PacketbeatPublisher

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

func NewPublisher

func NewPublisher(pub *publisher.PublisherType, hwm int) *PacketbeatPublisher

func (*PacketbeatPublisher) PublishTransaction

func (t *PacketbeatPublisher) PublishTransaction(event common.MapStr) bool

func (*PacketbeatPublisher) Start

func (t *PacketbeatPublisher) Start()

func (*PacketbeatPublisher) Stop

func (t *PacketbeatPublisher) Stop()

type Transactions

type Transactions interface {
	PublishTransaction(common.MapStr) bool
}

Jump to

Keyboard shortcuts

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