discovery

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2019 License: MIT Imports: 22 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL