package
0.1.0
Repository: https://github.com/annenamuli/go-stellar.git
Documentation: pkg.go.dev

# Functions

NewStream creates a new stream against the provided response writer.
WriteEvent does the actual work of formatting an SSE compliant message sending it over the provided ResponseWriter and flushing.
WritePreamble prepares this http connection for streaming using Server Sent Events.

# Variables

known errors.

# Structs

Event is the packet of data that gets sent over the wire to a connected client.
No description provided by the author
StreamHandler represents a stream handling action.

# Interfaces

No description provided by the author

# Type aliases

GenerateEventsFunc generates a slice of sse.Event which are sent via streaming.