Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRandomServiceInstanceSelector ¶
func NewRandomServiceInstanceSelector() instance.ServiceInstanceSelector
Types ¶
type RandomServiceInstanceSelector ¶
type RandomServiceInstanceSelector struct{}
the ServiceInstanceSelector implementation based on Random algorithm
func (*RandomServiceInstanceSelector) Select ¶
func (r *RandomServiceInstanceSelector) Select(url *common.URL, serviceInstances []registry.ServiceInstance) registry.ServiceInstance
Click to show internal directories.
Click to hide internal directories.