Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StreamConfig ¶
type StreamConfig struct {
Provider string // redis, kafka, sqs, etc
RedisConfig *streamredis.RedisStreamConfig
}
type StreamConsumer ¶
type StreamConsumer interface {
Setup(ctx context.Context) error
Start(ctx context.Context) error
Stop() error
}
func NewConversationStreamConsumer ¶
func NewConversationStreamConsumer( ctx context.Context, cfg *StreamConfig, eval *executor.ConversationEvaluator, logger *zerolog.Logger, ) (StreamConsumer, error)
Click to show internal directories.
Click to hide internal directories.