package
1.3.9
Repository: https://github.com/crowdware/shift-go.git
Documentation: pkg.go.dev

# Functions

** When GetProposalFromQRCode is called, then this transaction is stored temporary ** In this method we take the last transaction and withdraw it from the account.
** Decrypt the QR-Code, unmarshalls the peer and add it to the peer list */.
No description provided by the author
** Create the account and send it to the rest service.
No description provided by the author
** Deletes a message from Storj */.
No description provided by the author
** Return the Storj Access Token */.
** We encrypt the QR-Code, unpack and validate the transaction and when ** everything is fine we book it.
** Create a transation, pack it to a json string and return the encrypted string.
** Get a transaction from account, pack it to a json string and return the encrypted string.
** Sum up all transactions after subtracting the demurrage.
** Returns the Storj Bucketname */.
No description provided by the author
** Get a list of all mates from rest service, pack them into json and return the json string.
** Get the messages from message.db ** TODO: Only return the last X newest messages ordered by time ** TODO: Paging, read first 50 messages, then read 51-100, and so forth ** TODO: Readed should be filled if receiver deleted the message */.
** Return the account Name */.
** Returns an encrypted record of the first Peer */.
** We decrypt the string from a QR code, unpack and validate the transaction ** and send back the json to the client (we cannot send objects to Kotlin).
** Create a transaction, pack it to a json string and return the encrypted string.
** Calculate the scooped amount which since last setScooping, to be displayed ** on the client while balance display is in milli liter mode.
** Returns the amount of hours the account is scooping */.
** Get a list of the last 30 transactions, pack it into a json string and return it.
** Return the account Uuid */.
** Checks if account has been created already.
** Set the path where the db can be stored.
** Checks if account is scooping and is already 20 hours ago.
** Loading all new messages for each peer and save them in the database */.
** Puts an encrypted message on the Storj bucket from the peer */.
** Set the account Name */.
** Saves the Storj Data */.
** Inform the lib to use WS or not */.
** Set the account in scooping mode, scooping is set to now and rest method is called.

# Constants

No description provided by the author
liquid micro payment.
liquid micro receive.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
** This is needed to create a json string to be sent to the client.

# Type aliases

No description provided by the author