app

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Cache       *sql.DB
	Config      *config.Config
	EnrichCache *enrich.Enricher
	EventLogger *el.Logger
	Hostname    string
	LLMConfig   llm.Config
	Logger      *logrus.Logger
	Model       llms.Model
	Servers     map[uint16]*http.Server
}

App contains the core components and dependencies of the application.

func (*App) Run

func (a *App) Run() error

Run starts the app with the provided configuration.

Jump to

Keyboard shortcuts

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