Documentation ¶
Index ¶
- func GetTransactionHash(message string) (string, error)
- type OrgInvoke
- func (s *OrgInvoke) CreateOrgTargets(email string, accessList []int32, orgList []string) (string, error)
- func (s *OrgInvoke) DeleteUserFromLedger(email, targets, role string) error
- func (s *OrgInvoke) GetAccessOrgList(targets string) ([]string, error)
- func (s *OrgInvoke) GetAllUsersFromLedger() ([]model.User, error)
- func (s *OrgInvoke) GetHistoryFromLedger(email string) ([]model.HistoryData, error)
- func (s *OrgInvoke) GetSecretMessage(sessionOrg, targetOrg string) (string, error)
- func (s *OrgInvoke) GetUserFromLedger(email string, needHistory bool) (*model.User, error)
- func (s *OrgInvoke) InvokeCreateUser(name, age, mobile, salary string) error
- func (s *OrgInvoke) IsAccessExists(targets string, checkAccess int32, org string) bool
- func (s *OrgInvoke) OrgHasAccess(targets string, checkAccess int32, org string) bool
- func (s *OrgInvoke) ParseOrgTargets(targets string) error
- func (s *OrgInvoke) ShareDataToOrg(email string, orgList []string, accessList []int32, targets string) error
- func (s *OrgInvoke) UpdateOrgTargets(targets string, org string, access int32) (string, string, error)
- func (s *OrgInvoke) UpdateUserFromLedger(email, name, mobile, age, salary, targets, role string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTransactionHash ¶
Types ¶
type OrgInvoke ¶
func (*OrgInvoke) CreateOrgTargets ¶
func (*OrgInvoke) DeleteUserFromLedger ¶
func (*OrgInvoke) GetAccessOrgList ¶
func (*OrgInvoke) GetAllUsersFromLedger ¶
func (*OrgInvoke) GetHistoryFromLedger ¶
func (s *OrgInvoke) GetHistoryFromLedger(email string) ([]model.HistoryData, error)
func (*OrgInvoke) GetSecretMessage ¶
func (*OrgInvoke) GetUserFromLedger ¶
func (*OrgInvoke) InvokeCreateUser ¶
func (*OrgInvoke) IsAccessExists ¶
func (*OrgInvoke) OrgHasAccess ¶
func (*OrgInvoke) ParseOrgTargets ¶
func (*OrgInvoke) ShareDataToOrg ¶
func (*OrgInvoke) UpdateOrgTargets ¶
func (*OrgInvoke) UpdateUserFromLedger ¶
Click to show internal directories.
Click to hide internal directories.