projectfile

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package projectfile handles project file commands on the worker that owns the workspace.

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 executes project file commands in the worker workspace.

func New

func New(pub ReplyPublisher) (*Handler, error)

New creates a project file command handler.

func (*Handler) HandleFileCommand

func (h *Handler) HandleFileCommand(ctx context.Context, cmd messaging.WorkerCommand) error

HandleFileCommand restores a stored project file version and replies to the requester.

type ReplyPublisher

type ReplyPublisher interface {
	Publish(subject string, data []byte) error
}

ReplyPublisher publishes request/reply results through core NATS.

Jump to

Keyboard shortcuts

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