featuretoggle

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteFeatureToggleConfig added in v0.0.9

func DeleteFeatureToggleConfig(s3Client *s3.Client, featureName string) (bool, error)

func IsEnabled added in v0.0.2

func IsEnabled(s3Client *s3.Client, featureName string) bool

func SetAppEnv added in v0.0.7

func SetAppEnv(value string)

func SetBucketName

func SetBucketName(value string)

func UpsertFeatureToggleConfig added in v0.0.2

func UpsertFeatureToggleConfig(s3Client *s3.Client, featureToggleConfig *FeatureToggleConfig) (bool, error)

Types

type FeatureToggleConfig

type FeatureToggleConfig struct {
	Name       string
	IsEnabled  bool
	Percentage int
}

Jump to

Keyboard shortcuts

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