publish

package
v5.6.8+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2018 License: Apache-2.0 Imports: 7 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 Flows

type Flows interface {
	PublishFlows([]common.MapStr) bool
}

type PacketbeatPublisher

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

func NewPublisher

func NewPublisher(
	pub publisher.Publisher,
	hwm, bulkHWM int,
	ignoreOutgoing bool,
) (*PacketbeatPublisher, error)

func (*PacketbeatPublisher) PublishFlows

func (p *PacketbeatPublisher) PublishFlows(event []common.MapStr) bool

func (*PacketbeatPublisher) PublishTransaction

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

func (*PacketbeatPublisher) Start

func (p *PacketbeatPublisher) Start()

func (*PacketbeatPublisher) Stop

func (p *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