Documentation
¶
Index ¶
- func New(address, prefix string) module.Interface
- type FeatureFlag
- func (i *FeatureFlag) GetBool(ctx context.Context, key string) (bool, error)
- func (i *FeatureFlag) GetInt(ctx context.Context, key string) (int, error)
- func (i *FeatureFlag) GetString(ctx context.Context, key string) (string, error)
- func (i *FeatureFlag) GetStruct(ctx context.Context, key string, v interface{}) error
- func (i *FeatureFlag) GetValue(ctx context.Context, key string) (interface{}, error)
- func (i *FeatureFlag) Watch(ctx context.Context) (chan bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FeatureFlag ¶
type FeatureFlag struct {
// contains filtered or unexported fields
}
func (*FeatureFlag) GetStruct ¶
func (i *FeatureFlag) GetStruct(ctx context.Context, key string, v interface{}) error
Click to show internal directories.
Click to hide internal directories.