featureflag

package
v0.0.0-...-569970b Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Client *ld.LDClient

Client is a global feature flag client used by all across the app

Functions

func BoolVariation

func BoolVariation(flagKey string, userID string, fallback bool) bool

BoolVariation ...

func BoolVariationForOrg

func BoolVariationForOrg(flagKey string, slug string, fallback bool) bool

BoolVariationForOrg ...

func BoolVariationForUser

func BoolVariationForUser(flagKey string, slug string, fallback bool) bool

BoolVariationForUser ...

func Close

func Close() error

Close ... TODO: find out where to add graceful teardown to Buffalo

func InitClient

func InitClient() error

InitClient sets up the package global Client

Types

This section is empty.

Jump to

Keyboard shortcuts

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