package
1.0.0
Repository: https://github.com/harness/ff-proxy.git
Documentation: pkg.go.dev

# Functions

NewAuthRepo creates an AuthRepo from a map of api key hashes to environmentIDs.
NewFeatureFlagRepo creates a FeatureFlagRepo.
NewSegmentRepo creates a SegmentRepo.
NewTargetRepo creates a TargetRepo.
WithFeatureConfig populates a FeatureFlagRepo with the given config.
WithSegmentConfig populates a SegmentRepo with the given config.
WithTargetConfig populates a TargetRepo with the given config.

# Structs

AuthRepo is a repository that stores a map of api key hashes to environmentIDs.
FeatureFlagRepo is a repository that stores FeatureFlags.
SegmentRepo is a repository that stores Segments.
TargetRepo is a repository that stores Targets.

# Type aliases

FeatureFlagOption defines functional option for a FeatureFlagRepo.
SegmentOption defines functional option for a SegmentRepo.
TargetOption defines functional option for a TargetRepo.