Documentation ¶
Index ¶
- func CheckOrgAdmin(add, org, ult string) (bool, error)
- func CreateAccount(password, name string) (accounts.Account, error)
- func GetAccountCount() (*big.Int, error)
- func GetAccountDetails(acct string) (model.AccountDetails, error)
- func GetAccountDetailsFromIndex(index int64) (model.AccountDetails, error)
- func GetAccountOrgDetails(acct string) (model.AccountInfo, error)
- func GetBal(add string) (*big.Int, error)
- func GetBalKeyfile(keyfile, password string) (*big.Int, error)
- func GetRoleForAccount(acct string) (string, error)
- func GetStatusOfAccount(acct string) (model.Account, error)
- func OrgAdminExists(org string) (bool, error)
- func ValidatedAccount(acct, org string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckOrgAdmin ¶
func GetAccountCount ¶
func GetAccountDetails ¶
func GetAccountDetails(acct string) (model.AccountDetails, error)
func GetAccountDetailsFromIndex ¶
func GetAccountDetailsFromIndex(index int64) (model.AccountDetails, error)
func GetAccountOrgDetails ¶
func GetAccountOrgDetails(acct string) (model.AccountInfo, error)
func GetRoleForAccount ¶
func GetStatusOfAccount ¶
Account Status types 0 - Not in list 1 - Account pending approval 2 - Active 3 - Inactive 4 - Suspended 5 - Blacklisted 6 - Revoked 7 - Recovery Initiated for blacklisted accounts and pending approval
from network admins
func OrgAdminExists ¶
func ValidatedAccount ¶
returns bool true if the account does not exists or exists and belongs passed org
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.