memory

package
v0.0.0-...-59e7d7e Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2016 License: BSD-2-Clause Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() engine.Engine

Types

type Memory

type Memory struct {
	FeatureFlags map[engine.FeatureFlagKey]engine.FeatureFlag
	// contains filtered or unexported fields
}

func (*Memory) DeleteFeatureFlag

func (m *Memory) DeleteFeatureFlag(k engine.FeatureFlagKey) error

func (*Memory) GetFeatureFlag

func (m *Memory) GetFeatureFlag(k engine.FeatureFlagKey) (*engine.FeatureFlag, error)

func (*Memory) GetFeatureFlags

func (m *Memory) GetFeatureFlags() ([]engine.FeatureFlag, error)

func (*Memory) UpsertFeatureFlag

func (m *Memory) UpsertFeatureFlag(ff engine.FeatureFlag) error

Jump to

Keyboard shortcuts

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