Documentation
¶
Overview ¶
Package skill handles cmd.skill lane commands (install, list, detail, uninstall, import). Handler implements command.SkillHandler, decoding WorkerCommand payloads and executing actions via CLI, catalog, and store packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler handles cmd.skill lane commands. It decodes SkillCommandPayload and executes install/list/detail/uninstall/import actions, replying via ReplyPublisher.
func (*Handler) HandleSkillCommand ¶
func (h *Handler) HandleSkillCommand(ctx context.Context, cmd messaging.WorkerCommand, msg *nats.Msg) error
HandleSkillCommand implements command.SkillHandler. Decodes the SkillCommandPayload and dispatches by action.
type ReplyPublisher ¶
ReplyPublisher is the minimal interface used by Handler to publish command replies via core NATS.
Click to show internal directories.
Click to hide internal directories.