Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConnPoolFactory ¶
func NewConnPoolFactory(options func(ring.InstanceDesc) []grpc.DialOption) ring_client.PoolFactory
Types ¶
type ConnFactory ¶
type ConnFactory struct {
// contains filtered or unexported fields
}
func (*ConnFactory) FromInstance ¶
func (f *ConnFactory) FromInstance(inst ring.InstanceDesc) (ring_client.PoolClient, error)
type RingConnPool ¶
type RingConnPool struct{ *ring_client.Pool }
func (*RingConnPool) GetConnFor ¶
func (p *RingConnPool) GetConnFor(addr string) (grpc.ClientConnInterface, error)
Click to show internal directories.
Click to hide internal directories.