Documentation ¶
Index ¶
- type ACL
- func (a *ACL) AddMember(groupName, ownerAddress, memberAddress string, permission uint8) error
- func (a *ACL) CreateGroup(groupName, ownerAddress string) error
- func (a *ACL) GetAllGroups(ownerAddress string) (map[string]map[string]uint8, error)
- func (a *ACL) GetGroupMembers(groupName, ownerAddress string) (map[string]uint8, error)
- func (a *ACL) GetPermission(groupName, ownerAddress, memberAddress string) (uint8, error)
- func (a *ACL) RemoveGroup(groupName, ownerAddress string) error
- func (a *ACL) RemoveMember(groupName, ownerAddress, memberAddress string) error
- func (a *ACL) UpdatePermission(groupName, ownerAddress, memberAddress string, permission uint8) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACL ¶
type ACL struct {
// contains filtered or unexported fields
}
func NewMockACL ¶
func NewMockACL() *ACL
func (*ACL) CreateGroup ¶
func (*ACL) GetAllGroups ¶
func (*ACL) GetGroupMembers ¶
func (*ACL) GetPermission ¶
func (*ACL) RemoveGroup ¶
func (*ACL) RemoveMember ¶
Click to show internal directories.
Click to hide internal directories.