Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Logger logger.Logger EndpointsProvider EndpointsProvider Auth transport.Authenticator TransportCredentials credentials.TransportCredentials DB string InitNodes []string GridConfig grid.Config }
type Dispatcher ¶
type Dispatcher struct {
// contains filtered or unexported fields
}
Dispatcher provides dynamic transport layer by gluing together endpoints provider and balancer.
It uses provider's announces to populate balancing grid.
Balancing grid in turn is used by YDB services as abstract transport.
func New ¶
func New(cfg Config) *Dispatcher
func (*Dispatcher) Transport ¶
func (r *Dispatcher) Transport() grpc.ClientConnInterface
type EndpointsProvider ¶
Click to show internal directories.
Click to hide internal directories.