Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DisableLog ¶
func DisableLog()
DisableLog disables all library log output. Logging output is disabled by default until either UseLogger or SetLogWriter are called.
Types ¶
type UserData ¶
type UserData struct { sync.RWMutex DBConfig *DBConfig UserVotingConfig map[string]UserVotingConfig // [multisigaddr] }
UserData stores the current snapshot of the user voting config.
func (*UserData) DBSetConfig ¶
func (u *UserData) DBSetConfig(DBUser string, DBPassword string, DBHost string, DBPort string, DBName string)
DBSetConfig sets the database configuration.
func (*UserData) MySQLFetchAddedLowFeeTickets ¶
MySQLFetchAddedLowFeeTickets fetches any low fee tickets that were manually added by the admin.
func (*UserData) MySQLFetchUserVotingConfig ¶
func (u *UserData) MySQLFetchUserVotingConfig() (map[string]UserVotingConfig, error)
MySQLFetchUserVotingConfig fetches the voting preferences of all users who have completed registration of the pool by submitting an address and generating a multisig ticket address.
Click to show internal directories.
Click to hide internal directories.