Help us shape the future of Go! Take the 2026 Go Developer Survey

featureflipping

package
v0.57.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 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 InvalidateAllCache added in v0.57.0

func InvalidateAllCache()

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