daemon

package
v0.0.0-...-381f291 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Address string `yaml:"address"`
	Port    int    `yaml:"port"`
}

Config holds daemon configuration

func DefaultConfig

func DefaultConfig() *Config

DefaultConfig returns default daemon configuration

type Daemon

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

Daemon represents the TaskGuild daemon process

func New

func New(config *Config) (*Daemon, error)

New creates a new daemon instance

func (*Daemon) AgentManager

func (d *Daemon) AgentManager() *agent.Manager

AgentManager returns the agent manager

func (*Daemon) EventBus

func (d *Daemon) EventBus() *event.EventBus

EventBus returns the event bus

func (*Daemon) Start

func (d *Daemon) Start(ctx context.Context) error

Start starts the daemon with parallel execution using pool and panic protection

func (*Daemon) TaskService

func (d *Daemon) TaskService() task.Service

TaskService returns the task service

Jump to

Keyboard shortcuts

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