Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WeighterNotifyI ¶
type WeighterNotifyI interface { GrpcUnaryClientInterceptor(ctx context.Context, method string, req, reply interface{}, cc *grpc.ClientConn, invoker grpc.UnaryInvoker, opts ...grpc.CallOption) error NotifyWeighterChange() <-chan []*common.KV Close() error }
func New ¶
func New(ctx context.Context, t WeighterType) WeighterNotifyI
type WeighterType ¶
type WeighterType int
const ( DefaultWeighter WeighterType = iota RespTimeWeighter )
Click to show internal directories.
Click to hide internal directories.