Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewOrchestratorPool ¶
func NewOrchestratorPool(node *core.LivepeerNode, uris []*url.URL) *orchestratorPool
func NewOrchestratorPoolWithPred ¶
func NewOrchestratorPoolWithPred(node *core.LivepeerNode, addresses []*url.URL, pred func(*net.OrchestratorInfo) bool) *orchestratorPool
func NewWebhookPool ¶
func NewWebhookPool(node *core.LivepeerNode, callback *url.URL) *webhookPool
Types ¶
type DBOrchestratorPoolCache ¶
type DBOrchestratorPoolCache struct {
// contains filtered or unexported fields
}
func NewDBOrchestratorPoolCache ¶
func NewDBOrchestratorPoolCache(node *core.LivepeerNode) *DBOrchestratorPoolCache
func (*DBOrchestratorPoolCache) GetOrchestrators ¶
func (dbo *DBOrchestratorPoolCache) GetOrchestrators(numOrchestrators int) ([]*net.OrchestratorInfo, error)
func (*DBOrchestratorPoolCache) GetURLs ¶
func (dbo *DBOrchestratorPoolCache) GetURLs() []*url.URL
func (*DBOrchestratorPoolCache) Size ¶
func (dbo *DBOrchestratorPoolCache) Size() int
Click to show internal directories.
Click to hide internal directories.