Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientPool ¶
type ClientPool struct {
// contains filtered or unexported fields
}
func New ¶
func New(conns ...Conn) *ClientPool
func (*ClientPool) Write ¶
func (c *ClientPool) Write(msg []byte) error
type ConnManager ¶
type ConnManager struct {
// contains filtered or unexported fields
}
func NewConnManager ¶
func NewConnManager(c Connector, maxWrites int64) *ConnManager
func (*ConnManager) Write ¶
func (m *ConnManager) Write(data []byte) error
type Connector ¶
type Connector interface {
Connect() (io.Closer, plumbing.DopplerIngestor_PusherClient, error)
}
type DialFunc ¶
type DialFunc func(string, ...grpc.DialOption) (*grpc.ClientConn, error)
type GRPCConnector ¶
type GRPCConnector struct {
// contains filtered or unexported fields
}
func MakeGRPCConnector ¶
func MakeGRPCConnector( doppler string, zonePrefix string, df DialFunc, cf IngestorClientFunc, opts ...grpc.DialOption, ) GRPCConnector
func (GRPCConnector) Connect ¶
func (c GRPCConnector) Connect() (io.Closer, plumbing.DopplerIngestor_PusherClient, error)
func (GRPCConnector) String ¶
func (c GRPCConnector) String() string
type IngestorClientFunc ¶
type IngestorClientFunc func(*grpc.ClientConn) plumbing.DopplerIngestorClient
Click to show internal directories.
Click to hide internal directories.