Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StreamConsumer ¶
type StreamConsumer struct {
// contains filtered or unexported fields
}
StreamConsumer listens to Redis streams and forwards events to the learning Engine
func NewStreamConsumer ¶
func NewStreamConsumer(redisAddr string, server *mcp.Server, engine *learning.Engine) (*StreamConsumer, error)
NewStreamConsumer creates a new stream consumer that delegates to learning Engine
func (*StreamConsumer) PublishEvent ¶
func (sc *StreamConsumer) PublishEvent(ctx context.Context, eventType string, data map[string]interface{}) error
PublishEvent publishes a tool event to the stream (for other components to use)
Click to show internal directories.
Click to hide internal directories.