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 Activate(ormService *beeorm.Engine, name string) error DeActivate(ormService *beeorm.Engine, name string) error Create(ormService *beeorm.Engine, clockService clock.IClock, name string, isActive bool) error Delete(ormService *beeorm.Engine, name string) error GetAll(ormService *beeorm.Engine, pager *beeorm.Pager) []*entity.FeatureFlagEntity 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
Click to show internal directories.
Click to hide internal directories.