Documentation ¶
Index ¶
- func RoleAccesString(status *big.Int) (string, error)
- type Account
- type AccountDetails
- type AccountInfo
- type Config
- type CreatedNode
- type CredFacInst
- type Credential
- type CredentialFactory
- type CredentialInfo
- type DeployedContract
- type InstCred
- type Institution
- type NodeDetails
- type OrgDetails
- type PendingOp
- type PolicyDetails
- type RoleDetail
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccountDetails ¶
type AccountInfo ¶
type Config ¶
type Config struct { PermissionModel string `json:"PermissionModel"` UpgradableAddress string `json:"upgradableAddress"` InterfaceAddress string `json:"interfaceAddress"` ImplAddress string `json:"implAddress"` NodeMgrAddress string `json:"nodeMgrAddress"` AccountMgrAddress string `json:"accountMgrAddress"` RoleMgrAddress string `json:"roleMgrAddress"` VoterMgrAddress string `json:"voterMgrAddress"` OrgMgrAddress string `json:"orgMgrAddress"` NewAdminOrg string `json:"nwAdminOrg"` NewAdminRole string `json:"nwAdminRole"` OrgAdminRole string `json:"orgAdminRole"` GuardianAddress []string `json:"accounts"` SubOrgDepth int `json:"subOrgDepth"` SubOrgBreadth int `json:"subOrgBreadth"` }
Config struct for the application
type CreatedNode ¶
type CredFacInst ¶
type Credential ¶
type CredentialFactory ¶
type CredentialInfo ¶
type DeployedContract ¶
type InstCred ¶
type InstCred struct { CredentialId *big.Int `json:"credential_id,omitempty"` InstApprover common.Address `json:"inst_approver,omitempty"` CredApprover common.Address `json:"cred_approver,omitempty"` Implementation common.Address `json:"implementation,omitempty"` CredAddress common.Address `json:"cred_address,omitempty"` CredName string `json:"cred_name,omitempty"` CredSymbol string `json:"cred_symbol,omitempty"` CredUri string `json:"cred_uri,omitempty"` }
type Institution ¶
type NodeDetails ¶
type NodeDetails struct { OrgId string EnodeId string Ip string Port uint16 Raftport uint16 NodeStatus *big.Int }
func (*NodeDetails) NodeStatusString ¶
func (n *NodeDetails) NodeStatusString() (string, error)
type OrgDetails ¶
type OrgDetails struct { OrgId string PrntOrg string UltPrntOrg string Level *big.Int Status *big.Int }
func (*OrgDetails) OrgStatusString ¶
func (o *OrgDetails) OrgStatusString() (string, error)
type PendingOp ¶
type PendingOp struct { OrgId string EnodeId string Account common.Address OpType *big.Int Err error }
func (*PendingOp) PendingOpStatusString ¶
0 - None - indicates no pending records for the org 1 - New org add activity 2 - Org suspension activity 3 - Revoke of org suspension 4 - Assigning admin role for a new account 5 - Blacklisted node recovery 6 - Blacklisted account recovery
type PolicyDetails ¶
Click to show internal directories.
Click to hide internal directories.