Documentation ¶
Index ¶
Constants ¶
View Source
const (
BalancerName = "p2c_ewma"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct { *grpc.ClientConn Addr string DialOpts []grpc.DialOption // contains filtered or unexported fields }
type Option ¶
type Option func(c *Client)
func WithBalancingPolicy ¶
func WithDefault ¶
func WithDefault() Option
func WithDialOpts ¶
func WithDialOpts(opts ...grpc.DialOption) Option
func WithInsecure ¶
func WithInsecure() Option
func WithRateLimiter ¶
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
func NewResolver ¶
func (*Resolver) ResolveNow ¶
func (r *Resolver) ResolveNow(opt resolver.ResolveNowOptions)
Click to show internal directories.
Click to hide internal directories.