Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultEffector ¶
type DefaultEffector struct { }
DefaultEffector is default effector for Casbin.
func NewDefaultEffector ¶
func NewDefaultEffector() *DefaultEffector
NewDefaultEffector is the constructor for DefaultEffector.
func (*DefaultEffector) MergeEffects ¶
func (e *DefaultEffector) MergeEffects(expr string, effects []Effect, results []float64) (bool, error)
MergeEffects merges all matching results collected by the enforcer into a single decision.
Click to show internal directories.
Click to hide internal directories.