server

package
v0.6.5 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitServer

func InitServer(setupLogger *zap.SugaredLogger, uiAssets embed.FS, pluginAssets embed.FS)

func PrepareServer

func PrepareServer(setupLogger *zap.SugaredLogger)

func StartUpdater added in v0.6.5

func StartUpdater(logger *zap.SugaredLogger, s *settings.Settings, currentVersion string, broadcast func(secsLeft int)) *updater.Updater

StartUpdater builds, starts and returns the self-update orchestrator. The broadcast callback (may be nil) is invoked with the seconds remaining at each drain announcement so connected clients can be warned of the restart.

Types

type RequiredTool

type RequiredTool struct {
	Name           string
	Description    string
	UrlForDownload string
}

Jump to

Keyboard shortcuts

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