Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
*db.EncryptedDB
}
func (*DB) CreateAccount ¶
CreateAccount creates a new account in the database. clientID is the ID of the client that the account belongs to.
func (*DB) GetAccounts ¶
GetAccounts returns all accounts of the given client.
func (*DB) GetGlobalMoney ¶
GetGlobalMoney returns the sum of all money in the database.
Click to show internal directories.
Click to hide internal directories.