Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAlreadyRunning = errors.New("another PDP tracker worker already running")
View Source
var Logger = log.Logger("pdptracker")
Functions ¶
This section is empty.
Types ¶
type ChainPDPClient ¶
type ChainPDPClient struct {
// contains filtered or unexported fields
}
func NewPDPClient ¶
func (*ChainPDPClient) Close ¶
func (c *ChainPDPClient) Close() error
func (*ChainPDPClient) GetActivePieces ¶
paginates internally
func (*ChainPDPClient) GetDataSetListener ¶
type PDPIndexer ¶
type PDPIndexer struct {
// contains filtered or unexported fields
}
func NewPDPIndexer ¶
func (*PDPIndexer) Name ¶
func (*PDPIndexer) Name() string
type PDPTracker ¶
type PDPTracker struct {
// contains filtered or unexported fields
}
func NewPDPTracker ¶
func NewPDPTracker( db *gorm.DB, config PDPConfig, rpcClient *ChainPDPClient, once bool, ) PDPTracker
func (*PDPTracker) Name ¶
func (*PDPTracker) Name() string
Click to show internal directories.
Click to hide internal directories.