Documentation ¶
Index ¶
- type Client
- func (d *Client) DisableBoolFeature(feature string)
- func (d *Client) DisablePercentileFeature(feature string)
- func (d *Client) EnableBoolFeature(feature string)
- func (d *Client) EnablePercentileFeature(feature string)
- func (d *Client) Features() models.FeatureScopes
- func (d *Client) SetBoolFeature(feature string, value bool)
- func (d *Client) SetPercentileFeature(feature string, val float64)
- func (d *Client) Watch() *Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client mock `Client` for testing.
func (*Client) DisableBoolFeature ¶
DisableBoolFeature set a boolean feature to false
func (*Client) DisablePercentileFeature ¶
DisablePercentileFeature set a percentile feature to false
func (*Client) EnableBoolFeature ¶
EnableBoolFeature set a boolean feature to true
func (*Client) EnablePercentileFeature ¶
EnablePercentileFeature set a percentile feature to true
func (*Client) Features ¶ added in v0.3.0
func (d *Client) Features() models.FeatureScopes
Features `features` accessor
func (*Client) SetBoolFeature ¶ added in v0.3.4
SetBoolFeature set a boolean feature to the provided boolean value
func (*Client) SetPercentileFeature ¶ added in v0.3.0
SetPercentileFeature set a percentile feature to an arbitrary value
Click to show internal directories.
Click to hide internal directories.