Documentation ¶
Index ¶
- type MariaDB
- func (m *MariaDB) AddAccount(userID []byte, accountAddress []byte, signature []byte, ...) error
- func (m *MariaDB) AddUser(userID []byte, privateKey []byte) error
- func (m *MariaDB) DeleteUser(userID []byte) error
- func (m *MariaDB) GetAccounts(userID []byte) ([]common.AccountDB, error)
- func (m *MariaDB) GetAllUsers() ([]common.UserDB, error)
- func (m *MariaDB) GetUserPrivateKey(userID []byte) ([]byte, error)
- func (m *MariaDB) StoreTransaction(rawTx string, userID []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MariaDB ¶
type MariaDB struct {
// contains filtered or unexported fields
}
func NewMariaDB ¶
NewMariaDB creates a new MariaDB connection instance
func (*MariaDB) AddAccount ¶
func (m *MariaDB) AddAccount(userID []byte, accountAddress []byte, signature []byte, signatureType viewingkey.SignatureType) error
func (*MariaDB) DeleteUser ¶
func (*MariaDB) GetAccounts ¶
func (*MariaDB) GetUserPrivateKey ¶
Click to show internal directories.
Click to hide internal directories.