publish

package
v6.0.0-alpha2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

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) GetServerName

func (p *PacketbeatPublisher) GetServerName(ip string) string

func (*PacketbeatPublisher) IsPublisherIP

func (p *PacketbeatPublisher) IsPublisherIP(ip string) bool

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