Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
DB - The DB Module
func NewDB ¶
func NewDB(provider providers.ProviderInterface) *DB
NewDB - DB Module constructor to set the default provider
func (*DB) PutString ¶
PutString - Stores a string in the local database. Note this function is deprecated and will be removed in the future. Reference: https://github.com/ethereum/wiki/wiki/JSON-RPC#db_putstring Parameters:
- String - Database name.
- String - Key name.
- String - String to store.
Returns:
- Boolean - returns true if the value was stored, otherwise false.
Click to show internal directories.
Click to hide internal directories.