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

# Functions

GetTargets retrieves all targets for a given environment.
NewLocalConfig creates a new FeatureFlagConfig that loads config from the passed FileSystem and directory.
NewRemoteConfig creates a RemoteConfig and retrieves the configuration for the given Account, Org and APIKeys from the Feature Flags Service.
WithFetchTargets specifies if the RemoteConfig instance should fetch targets or not.
WithLogger can be used to pass a logger to the RemoteConfig, its default logger is one that logs to stderr and has debug logging disabled.

# Structs

EnvironmentDetails contains details about a configured environment.
LocalConfig is a type that can traverse a tree of files and decode FeatureFlag, Target and Segment information from them.
RemoteConfig is a type that retrieves config from the Feature Flags Service.

# Type aliases

RemoteOption is type for passing optional parameters to a RemoteConfig.