Documentation
¶
Index ¶
- func Commit()
- func CreateAccount(privateKey crypto.PrivKey, accountID string)
- func CreateLegalEntity(privateKey crypto.PrivKey, entityID string, entityType byte, name string, ...)
- func CreateUser(privateKey crypto.PrivKey, newUsersName string, newUsersPubKey crypto.PubKey, ...)
- func Decode(base64EncodedString string) []byte
- func Encode(data []byte) string
- func GetAccount(accountRequested string) (returned types.AccountsReturned)
- func GetAllAccounts() (returned types.AccountIndex)
- func GetAllLegalEntities() (returned types.LegalEntityIndex)
- func GetLegalEntity(id string) (returned types.LegalEntitiesReturned)
- func SetChainID(id string)
- func StartClient(serverAddress string)
- func TransferMoney(privateKey crypto.PrivKey, senderID string, recipientID string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAccount ¶
func CreateAccount(privateKey crypto.PrivKey, accountID string)
func CreateLegalEntity ¶
func CreateUser ¶
func GetAccount ¶
func GetAccount(accountRequested string) (returned types.AccountsReturned)
GetAccount makes a request to the ledger to return an accounts
func GetAllAccounts ¶
func GetAllAccounts() (returned types.AccountIndex)
AccountIndex makes a request to the ledger to returns all account IDs
func GetAllLegalEntities ¶
func GetAllLegalEntities() (returned types.LegalEntityIndex)
func GetLegalEntity ¶
func GetLegalEntity(id string) (returned types.LegalEntitiesReturned)
func StartClient ¶
func StartClient(serverAddress string)
StartClient is a convenience function to start the client app
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.