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 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
Source Files ¶
Click to show internal directories.
Click to hide internal directories.