Documentation ¶
Index ¶
- type Storage
- func (s *Storage) DatabaseVersion() int
- func (s *Storage) GetAddresses(poolname string) (error, []string)
- func (s *Storage) GetLastestWorkerShare(poolname string, address string, name string) (error, *poolapi.FlexpoolWorker)
- func (s *Storage) GetLastestWorkerTicker(poolname string, address string, name string) (error, *poolapi.FlexpoolWorkerTicker)
- func (s *Storage) NewDatabase() error
- func (s *Storage) RegAddress(address string, poolname string) error
- func (s *Storage) SaveBalance(poolname string, address string, balance int64) error
- func (s *Storage) SaveWorkerChart(poolname string, address string, workername string, ...) int
- func (s *Storage) SaveWorkerShares(poolname string, address string, workers []*poolapi.FlexpoolWorker) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func NewStorage ¶
func (*Storage) DatabaseVersion ¶
func (*Storage) GetLastestWorkerShare ¶
func (*Storage) GetLastestWorkerTicker ¶
func (*Storage) NewDatabase ¶
func (*Storage) SaveBalance ¶
func (*Storage) SaveWorkerChart ¶
func (*Storage) SaveWorkerShares ¶
Click to show internal directories.
Click to hide internal directories.