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 *datalayer.ORM, name string) bool FailIfIsNotActive(ormService *datalayer.ORM, name string) error Enable(ormService *datalayer.ORM, name string) error Disable(ormService *datalayer.ORM, name string) error GetScriptsSingleInstance(ormService *datalayer.ORM) []app.IScript GetScriptsMultiInstance(ormService *datalayer.ORM) []app.IScript Register(featureFlags ...IFeatureFlag) Sync(ormService *datalayer.ORM, 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.