featureflipping

package
v0.54.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(db gorp.SqlExecutor, id int64) error

func Exists

func Init

func Init(m *gorpmapper.Mapper)

func Insert

func Insert(m *gorpmapper.Mapper, db gorp.SqlExecutor, f *sdk.Feature) error

func InvalidateCache

func InvalidateCache(ctx context.Context, name sdk.FeatureName)

func IsEnabled

func IsEnabled(ctx context.Context, m *gorpmapper.Mapper, db gorp.SqlExecutor, name sdk.FeatureName, vars map[string]string) (exists bool, enabled bool)

func LoadAll

func LoadAll(ctx context.Context, m *gorpmapper.Mapper, db gorp.SqlExecutor) ([]sdk.Feature, error)

func Update

func Update(m *gorpmapper.Mapper, db gorp.SqlExecutor, f *sdk.Feature) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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