Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustOpenDB ¶
Types ¶
type AddressToCMAddressDB ¶
var ( DefaultAddressToCMAddressDBDir = "/.cookiemonster/AddressToCmAddressDB.db" DefautlAddressToCMAddressDB AddressToCMAddressDB )
func (AddressToCMAddressDB) DeleteCMAddressForAddress ¶
func (d AddressToCMAddressDB) DeleteCMAddressForAddress(address string) error
func (AddressToCMAddressDB) GetCMAddressForAddress ¶
func (d AddressToCMAddressDB) GetCMAddressForAddress(address string) (string, error)
func (AddressToCMAddressDB) SetCMAddressForAddress ¶
func (d AddressToCMAddressDB) SetCMAddressForAddress(address string, registeredAccountAddress string) error
type AddressToCMKeyDB ¶
var ( DefaultAddressToCMKeyNameDBDir = "/.cookiemonster/AddressToCMKeyName.db" DefaultAddressToCMKeyNameDB AddressToCMKeyDB )
func (AddressToCMKeyDB) DeleteCMKeyNameForAddress ¶
func (d AddressToCMKeyDB) DeleteCMKeyNameForAddress(address string) error
func (AddressToCMKeyDB) GetCMKeyNameForAddress ¶
func (d AddressToCMKeyDB) GetCMKeyNameForAddress(address string) (string, error)
func (AddressToCMKeyDB) SetCMKeyNameForAddress ¶
func (d AddressToCMKeyDB) SetCMKeyNameForAddress(address string, keyName string) error
Click to show internal directories.
Click to hide internal directories.