mock

package
v0.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2016 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	client.Client
	// contains filtered or unexported fields
}

Client mock `Client` for testing.

func New

func New() (d *Client)

New creates a `Client` with an empty `FeatureMap` and `Config`.

func (*Client) DisableBoolFeature

func (d *Client) DisableBoolFeature(feature string)

DisableBoolFeature set a boolean feature to false

func (*Client) DisablePercentileFeature

func (d *Client) DisablePercentileFeature(feature string)

DisablePercentileFeature set a percentile feature to false

func (*Client) EnableBoolFeature

func (d *Client) EnableBoolFeature(feature string)

EnableBoolFeature set a boolean feature to true

func (*Client) EnablePercentileFeature

func (d *Client) EnablePercentileFeature(feature string)

EnablePercentileFeature set a percentile feature to true

func (*Client) Watch

func (d *Client) Watch() *Client

Watch noop for tests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL