package
0.7.0
Repository: https://github.com/uw-labs/flaggio.git
Documentation: pkg.go.dev

# Functions

Contains operator will check if the value from the user context contains any of the configured values on the flag.
DoesntContain operator will check if the value from the user context doesn't contain any of the configured values on the flag.
DoesntEndWith operator will check if the value from the user context doesn't end with any of the configured values on the flag.
DoesntExist operator will check if the property from the user context doesn't exist (is null).
DoesntMatchRegex operator will check if the value from the user context doesn't match any regexes configured on the flag.
DoesntStartWith operator will check if the value from the user context doesn't start with any of the configured values on the flag.
DoesntValidate operator will check if the value from the user context doesn't validate against the configured validator on the flag.
EndsWith operator will check if the value from the user context ends with any of the configured values on the flag.
Exists operator will check if the property from the user context exists (is not null).
Greater operator will check if the value from the user context is greater than any of the configured values on the flag.
GreaterOrEqual operator will check if the value from the user context is greater or equal than any of the configured values on the flag.
InNetwork operator will check if the value from the user context is an ip that is included in any of the networks configured on the flag.
Lower operator will check if the value from the user context is lower than any of the configured values on the flag.
LowerOrEqual operator will check if the value from the user context is lower or equal than any of the configured values on the flag.
MatchesRegex operator will check if the value from the user context matches any regexes configured on the flag.
NotOneOf operator will check if the value from the user context doesn't equal to any of the configured values on the flag.
OneOf operator will check if the value from the user context equals to any of the configured values on the flag.
StartsWith operator will check if the value from the user context starts with any of the configured values on the flag.
Validates operator will check if the value from the user context validates against the configured validator on the flag.

# Interfaces

Validator validates the user context somehow and returns true when the validations are satisfied.