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

# Packages

No description provided by the author

# Functions

NewAcks constructs a new map of acks with syncs.
NewClient constructs a new websocket evntsrc client.
Run connects to NAT and start web server.

# Structs

Ack the basic ack struct.
AckCommand provides error responses to WS clients.
Acks a group of acks with syncs.
AuthCommand provides streaming information and verification.
Client maintains WS info.
ConnectionInfo basic information about the current connection.
InboundCommand is the basic struct for all commands coming from browser.
NatsPublisher sends an event into a nats cluster.
PublishCommand sends data (server-side event) through to NATS.
PublishEventCommand sends an client-side event through NATS.
ReplayCommand instructs events to rebroadcast all events stored since time.
ReplayRange specifies the time and/or ID's to include in the replay.
SubscribeCommand starts a subscription.
UnsubscribeCommand starts a subscription.

# Interfaces

Publisher provides a way to broadcast an event.