multitenancy_background_app

package
v0.0.0-...-8122643 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigFile

func ConfigFile(defaultConfigFile ...string) string

Types

type Main

type Main struct {
	Finisher background_worker.Finisher
	App      app_with_multitenancy.AppWithMultitenancy
	// contains filtered or unexported fields
}

func New

func New(buildConfig *app_context.BuildConfig, tenancyDbModels *multitenancy.TenancyDbModels, runnerConfig *RunnerConfig, appConfig ...app_with_multitenancy.AppConfigI) *Main

func (*Main) Exec

func (m *Main) Exec()

type MainRunner

type MainRunner interface {
	Run(fin background_worker.Finisher)
}

type RunnerConfig

type RunnerConfig struct {
	*background_worker.FinisherMainConfig
	RunnerBuilder          BuildMainRunner
	DefaultConfigFile      string
	ForceDefaultConfigFlag bool
	InitBaseApp            bool
	InitBaseAppDb          bool
}

Jump to

Keyboard shortcuts

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