boot

package
v1.0.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2026 License: MIT Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package boot exposes the parts of the Wings boot sequence that live in internal packages so that Wings can be embedded as a library by other daemons. The Wings binary itself continues to use the internal packages directly.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitializeDatabase

func InitializeDatabase() error

InitializeDatabase configures the local SQLite activity database for Wings and ensures that the models have been fully migrated. It must be called exactly once per process, after the configuration has been set.

func Scheduler

func Scheduler(ctx context.Context, m *server.Manager) (gocron.Scheduler, error)

Scheduler configures the internal cron system (activity and SFTP event shipping) for the given server manager and returns the scheduler. The caller starts it. It must be called at most once per process.

Types

This section is empty.

Jump to

Keyboard shortcuts

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