package
0.0.0-20200905034620-0172641fbaf7
Repository: https://github.com/tcfw/evntsrc.git
Documentation: pkg.go.dev

# Functions

BroadcastEvent attempts to connect to nats server to pub any event and saves to stream.
BroadcastNonStreamingEvent broadcasts an event like BroadcastEvent but uses the non-streaming engine.
ListenForBroadcast creates a new NATS connection and watches for internal eventsbased on a channel & type using ListenForBroadcastOnNC.
ListenForBroadcastOnNC is the same as ListenForBroadcast but on an existing nats connection.

# Constants

InternalChannelPrefix Default channel prefix.
InternalPrefix prefix to all internal channels.

# Structs

AuthenticateEvent publishes to events.auth.auth.
Event is the basic structure all events should include.

# Interfaces

EventInterface provides required funcs to identify common structured events.