Versions in this module Expand all Collapse all v0 v0.0.1 Nov 2, 2020 Changes in this version + type AuthMechanism interface + type Client struct + func NewClient(baseUrl string, userAgent string, authMechanism AuthMechanism) (*Client, error) + func (c *Client) CreateFeatureFlag(feature Feature) error + func (c *Client) DeleteFeatureFlag(name string) error + func (c *Client) FeatureFlagByName(featureName string) (*Feature, error) + func (c *Client) ListFeatureFlags() ([]Feature, error) + func (c *Client) UpdateFeatureFlag(name string, feature Feature) error + type Constraint struct + ContextName string + Operator Operator + Values []string + type Feature struct + CreatedAt time.Time + Description string + Enabled bool + Name string + Parameters ParameterMap + Strategies []Strategy + Strategy string + type FeatureResponse struct + Features []Feature + func (fr FeatureResponse) FeatureMap() map[string]interface{} + type Operator string + const OperatorIn + const OperatorNotIn + type ParameterDescription struct + Description string + Name string + Required bool + Type string + type ParameterMap map[string]interface + type Response struct + Version int + type Strategy struct + Constraints []Constraint + Id int + Name string + Parameters ParameterMap + type StrategyDescription struct + Description string + Name string + Parameters []ParameterDescription + type StrategyResponse struct + Strategies []StrategyDescription + type UnsecureAuthentication struct + Email string + Username string