Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACLValidator ¶
ACLValidator interface defines common interface for ACL Validator Validator only validate account/ak with 1~2 level height
type ACLValidatorFactory ¶
type ACLValidatorFactory struct { }
ACLValidatorFactory create ACLValidator for specified permission model
func (*ACLValidatorFactory) GetACLValidator ¶
func (vf *ACLValidatorFactory) GetACLValidator(pr pb.PermissionRule) (ACLValidator, error)
GetACLValidator returns ACLValidator for specified permission model
type AKSetsValidator ¶
type AKSetsValidator struct{}
AKSetsValidator is Valiator for AkSets permission model
func NewAKSetsValidator ¶
func NewAKSetsValidator() *AKSetsValidator
NewAKSetsValidator return instance of AKSetsValidator
type ThresholdValidator ¶
type ThresholdValidator struct{}
ThresholdValidator is Valiator for Threshold permission model
func NewThresholdValidator ¶
func NewThresholdValidator() *ThresholdValidator
NewThresholdValidator return instance of ThresholdValidator
Click to show internal directories.
Click to hide internal directories.