Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
Engine struct is responsible for checking if any of the conditions of the feature flag matches, performing traffic allocation, calculating the bucket and returning the appropriate treatment
func NewEngine ¶
func NewEngine(logger logging.LoggerInterface) *Engine
NewEngine instantiates and returns a new engine
Click to show internal directories.
Click to hide internal directories.