core

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: GPL-2.0 Imports: 10 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 {
	Logger          logger.ILogger
	Config          config.Config
	Settings        config.Settings
	Prompter        userio.Prompter
	NotificationSvc services.INotificationService
}

func (*Core) GetSeedables

func (c *Core) GetSeedables() (entities []string, err error)

func (*Core) OnEnd

func (c *Core) OnEnd() func()

func (*Core) OnStart

func (c *Core) OnStart() func()

func (*Core) RegisterBackgroundWorkers

func (c *Core) RegisterBackgroundWorkers() []modules.Worker

func (*Core) RegisterHttpHandlers

func (c *Core) RegisterHttpHandlers(router *mux.Router, prefix string)

func (*Core) Seed

func (c *Core) Seed(entities []string, is_new_only bool) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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