core

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Core

type Core struct {
	Config     *config.Config
	DB         *database.DB
	Auth       *auth.Service
	Registry   *sources.Registry
	Downloader *downloader.Downloader
	Hooks      *hooks.Manager
	Scheduler  *scheduler.Scheduler
	Service    *service.Service
}

func New

func New(opts Options) (*Core, error)

func (*Core) Close

func (c *Core) Close()

type Options

type Options struct {
	WithScheduler bool
	NoWebhooks    bool
	SilentLogger  bool
	Version       string
}

Jump to

Keyboard shortcuts

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