Documentation ¶
Overview ¶
This package breaks out some global config handling to where it can be used externally without dependence on all flashlight config.
Index ¶
Constants ¶
View Source
const FeatureReplica = "replica"
Variables ¶
View Source
var ErrFeatureOptionAbsent = errors.New("feature option is absent")
Functions ¶
func UnmarshalFeatureOptions ¶
func UnmarshalFeatureOptions(cfg Raw, feature string, opts FeatureOptions) error
Types ¶
type FeatureOptions ¶
FeatureOptions is an interface implemented by all feature options
Click to show internal directories.
Click to hide internal directories.