services

package
v0.0.0-...-2869b66 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

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

Container manages application dependencies and services It follows the Dependency Injection pattern for lazy initialization

func NewContainer

func NewContainer(cfg *config.Config) *Container

NewContainer creates a new service container Event coordination should be initialized separately by the application

func (*Container) AutomationEngine

func (c *Container) AutomationEngine() (*automation.Engine, error)

AutomationEngine returns the automation engine (lazy initialization)

func (*Container) Close

func (c *Container) Close() error

Close cleans up any resources held by the container

func (*Container) Config

func (c *Container) Config() *config.Config

Config returns the application configuration

func (*Container) GeminiClient

func (c *Container) GeminiClient() *gemini.Client

GeminiClient returns the Gemini AI client (lazy initialization)

func (*Container) JulesClient

func (c *Container) JulesClient() *jules.Client

JulesClient returns the Jules API client (lazy initialization)

func (*Container) TemplateManager

func (c *Container) TemplateManager() (*templates.Manager, error)

TemplateManager returns the template manager (lazy initialization)

Jump to

Keyboard shortcuts

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