Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StreamEngine ¶
type StreamEngine struct {
// contains filtered or unexported fields
}
StreamEngine is an engine that processes a of messages from a stream, with the order preserved.
func New ¶
func New(processor goduck.Processor, streams []goduck.Stream) *StreamEngine
New creates a new StreamEngine
func NewFromEndpoint ¶ added in v0.3.0
func NewFromEndpoint( e endpoint.Endpoint, decoder goduck.EndpointDecoder, streams []goduck.Stream, ) *StreamEngine
NewFromEndpoint creates a StreamEngine from a go-kit endpoint
Click to show internal directories.
Click to hide internal directories.