clientpool

package
v0.0.0-...-0848747 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2015 License: Apache-2.0, BSD-3-Clause, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrorEmptyClientPool = errors.New("loggregator client pool is empty")

Functions

This section is empty.

Types

type AddressGetter

type AddressGetter interface {
	GetAddresses() []string
}

type LoggregatorClientPool

type LoggregatorClientPool struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewLoggregatorClientPool

func NewLoggregatorClientPool(logger *gosteno.Logger, port int, getter AddressGetter) *LoggregatorClientPool

func (*LoggregatorClientPool) ListClients

func (*LoggregatorClientPool) RandomClient

Jump to

Keyboard shortcuts

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