Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConversationConsumer ¶
type ConversationConsumer struct {
// contains filtered or unexported fields
}
func NewConversationConsumer ¶
func NewConversationConsumer(client *redis.Client, stream string, groupID string, consumerName string, exec *executor.ConversationEvaluator, logger *zerolog.Logger) *ConversationConsumer
func (*ConversationConsumer) Setup ¶
func (c *ConversationConsumer) Setup(ctx context.Context) error
func (*ConversationConsumer) Start ¶
func (c *ConversationConsumer) Start(ctx context.Context) error
func (*ConversationConsumer) Stop ¶
func (c *ConversationConsumer) Stop() error
type RedisStreamConfig ¶
type RedisStreamConfig struct {
RedisAddr string
RedisPassword string
Stream string
Group string
ConsumerName string
}
func NewRedisStreamConfig ¶
Click to show internal directories.
Click to hide internal directories.