Documentation ¶
Index ¶
Constants ¶
View Source
const ( ClientTypeBus ClientType = "bus" ClientTypeWorker ClientType = "worker" ClusterKey string = "/discovery/renterd" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientManager ¶ added in v0.4.0
type ClientManager struct {
// contains filtered or unexported fields
}
func NewClientManager ¶ added in v0.4.0
func NewClientManager(ctx core.Context) *ClientManager
func (*ClientManager) GetNextNode ¶ added in v0.4.0
func (cm *ClientManager) GetNextNode(clientType ClientType) (*NodeInfo, error)
func (*ClientManager) Start ¶ added in v0.4.0
func (cm *ClientManager) Start() error
type ClientType ¶ added in v0.4.0
type ClientType string
Click to show internal directories.
Click to hide internal directories.