FeatureFlagService

uk.gov.hmrc.mongoFeatureToggles.services.FeatureFlagService
@Singleton
class FeatureFlagService(appConfig: AppConfig, toggleConfig: FeatureFlagsConfig, featureFlagRepository: FeatureFlagRepository, cache: AsyncCacheApi)(implicit ec: ExecutionContext) extends Logging

Attributes

Graph
Supertypes
trait Logging
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def get(flagName: FeatureFlagName): Future[FeatureFlag]
def getAsEitherT[A](flagName: FeatureFlagName): EitherT[Future, A, FeatureFlag]

Concrete fields

val cacheValidFor: FiniteDuration

Inherited fields

protected val logger: Logger

Attributes

Inherited from:
Logging