 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Overview ¶
Package matchers //
Package matchers //
Package matchers //
Package matchers //
Package matchers //
Package matchers //
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExactMatcher ¶
ExactMatcher matches against the "exact" match type
func (ExactMatcher) Match ¶
func (m ExactMatcher) Match(user entities.UserContext) (bool, error)
Match returns true if the user's attribute match the condition's string value
type ExistsMatcher ¶
ExistsMatcher matches against the "exists" match type
func (ExistsMatcher) Match ¶
func (m ExistsMatcher) Match(user entities.UserContext) (bool, error)
Match returns true if the user's attribute is in the condition
type Matcher ¶
type Matcher interface {
	Match(entities.UserContext) (bool, error)
}
    Matcher matches the condition against the user's attributes
type SubstringMatcher ¶
SubstringMatcher matches against the "substring" match type
func (SubstringMatcher) Match ¶
func (m SubstringMatcher) Match(user entities.UserContext) (bool, error)
Match returns true if the user's attribute is a substring of the condition's string value
 Click to show internal directories. 
   Click to hide internal directories.