acl

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ACL

type ACL interface {
	CreateGroup(groupName, ownerAddress string) error
	AddMember(groupName, ownerAddress, memberAddress string, permission uint8) error
	RemoveMember(groupName, ownerAddress, memberAddress string) error
	RemoveGroup(groupName, ownerAddress string) error
	GetGroupMembers(groupName, ownerAddress string) (map[string]uint8, error)
	UpdatePermission(groupName, ownerAddress, memberAddress string, permission uint8) error
	GetPermission(groupName, ownerAddress, memberAddress string) (uint8, error)
}

Directories

Path Synopsis
acl

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL