Documentation
¶
Index ¶
- type Manager
- func (mgr *Manager) GetAccountACL(accountName string) (*pb.Acl, error)
- func (mgr *Manager) GetAccountACLWithConfirmed(accountName string) (*pb.Acl, bool, error)
- func (mgr *Manager) GetContractMethodACL(contractName string, methodName string) (*pb.Acl, error)
- func (mgr *Manager) GetContractMethodACLWithConfirmed(contractName string, methodName string) (*pb.Acl, bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager manages all ACL releated data, providing read/write interface for ACL table
func NewACLManager ¶
NewACLManager create instance of ACLManager
func (*Manager) GetAccountACL ¶
GetAccountACL get acl of an account
func (*Manager) GetAccountACLWithConfirmed ¶
GetAccountACLWithConfirmed implements reading ACL of an account with confirmed state
func (*Manager) GetContractMethodACL ¶
GetContractMethodACL get acl of contract method
Click to show internal directories.
Click to hide internal directories.