featureflag

package
v1.3.79 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IFeatureFlag added in v0.9.49

type IFeatureFlag interface {
	GetName() string
	ScriptsSingleInstance() []app.IScript
	ScriptsMultiInstance() []app.IScript
}

type ServiceFeatureFlagInterface

type ServiceFeatureFlagInterface interface {
	IsActive(ormService *beeorm.Engine, name string) bool
	FailIfIsNotActive(ormService *beeorm.Engine, name string) error
	Enable(ormService *beeorm.Engine, name string) error
	Disable(ormService *beeorm.Engine, name string) error
	GetScriptsSingleInstance(ormService *beeorm.Engine) []app.IScript
	GetScriptsMultiInstance(ormService *beeorm.Engine) []app.IScript
	Register(featureFlags ...IFeatureFlag)
	Sync(ormService *beeorm.Engine, clockService clock.IClock)
}

func NewFeatureFlagService

func NewFeatureFlagService(errorLoggerService errorlogger.ErrorLogger) ServiceFeatureFlagInterface

func NewFeatureFlagWithCacheService added in v1.1.46

func NewFeatureFlagWithCacheService(errorLoggerService errorlogger.ErrorLogger, clockService clock.IClock) ServiceFeatureFlagInterface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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