featureflags

package
v0.0.0-...-cb8e146 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

func Init

func Init(cfg *config.ChromeServiceConfig)

func IsEnabled

func IsEnabled(flag string) bool

Wrap the unleash to avoid having to do if (unleashClient != nil && unleashClient.IsEnabled("FeatureFlag")) every single call

func New

Types

type FFClient

type FFClient struct {
	// contains filtered or unexported fields
}

This is a wrapper struct to setup our own requests to avoid calling a nil client. It's all a bit deranged, but I cannot get the library to guarantee any sane defaults

func GetClient

func GetClient() *FFClient

Jump to

Keyboard shortcuts

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