Help us shape the future of Go! Take the 2026 Go Developer Survey

featureflag

package
v1.0.75 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: GPL-3.0 Imports: 7 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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