event

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatRunConsumer

type ChatRunConsumer struct {
	// contains filtered or unexported fields
}

ChatRunConsumer handles chat-run commands from notification-service: create a chat-linked agent run and execute it. Inbox-deduped so a redelivery doesn't create a duplicate run.

func NewChatRunConsumer

func NewChatRunConsumer(rabbitmq messaging.MessageBroker, inboxRepo messaging.InboxRepo, agentDefSvc domain.AgentDefinitionSvc) *ChatRunConsumer

func (*ChatRunConsumer) Listen

func (c *ChatRunConsumer) Listen(ctx context.Context) error

type RunConsumer

type RunConsumer struct {
	// contains filtered or unexported fields
}

func NewRunConsumer

func NewRunConsumer(rabbitmq messaging.MessageBroker, inboxRepo messaging.InboxRepo, runner domain.RunnerSvc) *RunConsumer

func (*RunConsumer) Listen

func (c *RunConsumer) Listen(ctx context.Context) error

func (*RunConsumer) ListenContinueRun

func (c *RunConsumer) ListenContinueRun(ctx context.Context) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL